go-thrust icon indicating copy to clipboard operation
go-thrust copied to clipboard

missing or incorrect example

Open taf2 opened this issue 9 years ago • 3 comments

https://github.com/miketheprogrammer/go-thrust/tree/master/examples/chat

there is no ./run command in the chat example dir...

taf2 avatar Mar 31 '15 04:03 taf2

Please view, the server/run_server file, and the client/run_client file. The readme was a bit out of date.

miketheprogrammer avatar Mar 31 '15 11:03 miketheprogrammer

i see those. I saw the Gomfile in the project root. seems like adding the dependencies for things there might be a good idea?

./run_server
server.go:14:2: cannot find package "github.com/gorilla/websocket" in any of:
    /usr/local/go/src/github.com/gorilla/websocket (from $GOROOT)
    /Users/taf2/work/golibs/src/github.com/gorilla/websocket (from $GOPATH)
server.go:16:2: cannot find package "github.com/tv42/birpc" in any of:
    /usr/local/go/src/github.com/tv42/birpc (from $GOROOT)
    /Users/taf2/work/golibs/src/github.com/tv42/birpc (from $GOPATH)
server.go:17:2: cannot find package "github.com/tv42/birpc/wetsock" in any of:
    /usr/local/go/src/github.com/tv42/birpc/wetsock (from $GOROOT)
    /Users/taf2/work/golibs/src/github.com/tv42/birpc/wetsock (from $GOPATH)
server.go:18:2: cannot find package "github.com/tv42/topic" in any of:
    /usr/local/go/src/github.com/tv42/topic (from $GOROOT)
    /Users/taf2/work/golibs/src/github.com/tv42/topic (from $GOPATH)

taf2 avatar Mar 31 '15 14:03 taf2

Ahh, apologies. I did not even think of that. Will queue this up for when I return to this repo for the next version.

miketheprogrammer avatar May 22 '15 02:05 miketheprogrammer