We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ go run main.go
./main.go:34:7: undefined: newRoom
The text was updated successfully, but these errors were encountered:
You have to build it with go build -o chat (page 15)
go build -o chat
I suppose you ran it with go run main.go this will only run main.go an thus not include room.go I think
go run main.go
you could also go run main.go room.go client.go but this would get out of hand for larger projects
go run main.go room.go client.go
Sorry, something went wrong.
Thx @ksthiele,
it work now, sorry for my Go newbie.
No branches or pull requests
$ go run main.go
command-line-arguments
./main.go:34:7: undefined: newRoom
The text was updated successfully, but these errors were encountered: