Open bdutta opened 3 years ago
Eventually, what did seem to work to get the examples running was:
git clone https://github.com/fiorix/go-diameter
in my $GOPATH/src/github.com/fiorix/ directorycd $GOPATH/src/github.com/fiorix/go-diameter/examples/server
in one terminalgo run server.go
cd $GOPATH/src/github.com/fiorix/go-diameter/examples/client
in another terminalgo run client.go -hello
However, still no sign of v4 of the module.
Agreed. v4 does not seem to exist in the source tree.
[***@*** go-diameter]$ find ./ -iname v4
returns nothing.
This could be my newbie mistake and not necessarily an issue, but I tried following the 'Getting Started' section instructions carefully but failed to run the server and client. I am new to Golang, but know Diameter protocol reasonably well.
My environment:
On executing:
export GO111MODULE=on go run github.com/fiorix/go-diameter/v4/examples/server
I see the error:_no required module provides package github.com/fiorix/go-diameter/v4/examples/server: go.mod file not found in current directory or any parent directory; see 'go help modules'_ go run github.com/fiorix/go-diameter/v4/examples/client -hello
On using the non module based/aware method, the v4 of the module doesn't seem to be fetched.