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

How to start the chat? #3

Open
reiz opened this issue Oct 10, 2015 · 1 comment
Open

How to start the chat? #3

reiz opened this issue Oct 10, 2015 · 1 comment

Comments

@reiz
Copy link

reiz commented Oct 10, 2015

I'm relatively new to Go. How can I start the chat example? I went into the websocket-chat/src directory and executed this:

export GOPATH=`pwd`

Then I tried:

go run main.go

But that fails with:

main.go:7:2: cannot find package "chat" in any of:
    /usr/local/Cellar/go/1.5.1/libexec/src/chat (from $GOROOT)
    /Users/reiz/workspace/chartgeist/websocket/websocket-chat/src/src/chat

I appreciate any help. Thx.

@reiz
Copy link
Author

reiz commented Oct 10, 2015

I figured it out. But some basic info in the README would be nice ;-)

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

1 participant