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

Fixed to be compatible with latest gossip API #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

attesaarela
Copy link

@attesaarela attesaarela commented May 26, 2016

Note that while trying to run the gossip-demo I also encountered some nil errors in the latest master version of gossip. I forked it into attesaarela/gossip and made some fixes and seems to run with that version. Also made a pull request on that fork of gossip.

Copy link
Owner

@rynorris rynorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this up!
A few minor things to fix up, but then good to go. :)

"time"

"gossip-demo/demo"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use the full import path here github.com/discoviking/gossip-demo/demo. Otherwise it doesn't compile when downloaded with go get as is standard.


func main() {
var doCall = 0
flag.IntVar(&doCall, "call",0, "do a test call")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change this to be two flag.Bools called "-server" and "-client", or "-caller" and "-callee"? I think that would be a bit clearer.


In another shell window, run "go run main.go -call 1" to do a test call
*/

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To match style can we change this to be // style comments, and remove the newline between the comment and the function?

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

Successfully merging this pull request may close these issues.

2 participants