You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
OS: Lubuntu Linux 20.04.2
Go version: 1.16.4 (amd64/linux)
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.
The text was updated successfully, but these errors were encountered:
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/ directory
cd $GOPATH/src/github.com/fiorix/go-diameter/examples/server in one terminal
go run server.go
cd $GOPATH/src/github.com/fiorix/go-diameter/examples/client in another terminal
go run client.go -hello
leading to exchange of the HRM and HRA diameter messages
However, still no sign of v4 of the module.
bdutta
changed the title
Do the 'Getting Started' instructions on Readme.md need update ?
Does the 'Getting Started' instructions on Readme.md need update ?
May 27, 2021
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.
The text was updated successfully, but these errors were encountered: