Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does the 'Getting Started' instructions on Readme.md need update ? #157

Open
bdutta opened this issue May 26, 2021 · 2 comments
Open

Does the 'Getting Started' instructions on Readme.md need update ? #157

bdutta opened this issue May 26, 2021 · 2 comments

Comments

@bdutta
Copy link

bdutta commented May 26, 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:

  • 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.

@bdutta
Copy link
Author

bdutta commented May 26, 2021

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 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
@uzairzia
Copy link

Agreed. v4 does not seem to exist in the source tree.

[***@*** go-diameter]$ find ./ -iname v4 returns nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants