miketheprogrammer / go-thrust

Cross Platform UI Kit powered by Blink/V8/Chromium Content Lib
MIT License
445 stars 34 forks source link

missing or incorrect example #52

Open taf2 opened 9 years ago

taf2 commented 9 years ago

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

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

miketheprogrammer commented 9 years ago

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

taf2 commented 9 years ago

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)
miketheprogrammer commented 9 years ago

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