spf13 / kaiju

Open source discussion server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when go run main.go several undefined: socketio errors are thrown

thomasmodeneis opened this issue · comments

Hi,

I'm trying to make use of your lib but I can't make it work, it says:
$ go run main.go

github.com/spf13/kaiju/commands

/opt/gocode/src/github.com/spf13/kaiju/commands/sio.go:32: undefined: socketio.SocketIOServer
/opt/gocode/src/github.com/spf13/kaiju/commands/sio.go:35: undefined: socketio.Config
/opt/gocode/src/github.com/spf13/kaiju/commands/sio.go:39: undefined: socketio.NewSocketIOServer
/opt/gocode/src/github.com/spf13/kaiju/commands/sio.go:72: undefined: socketio.NameSpace
/opt/gocode/src/github.com/spf13/kaiju/commands/sio.go:79: undefined: socketio.NameSpace
/opt/gocode/src/github.com/spf13/kaiju/commands/sio.go:86: undefined: socketio.NameSpace
/opt/gocode/src/github.com/spf13/kaiju/commands/sio.go:100: undefined: socketio.NameSpace
/opt/gocode/src/github.com/spf13/kaiju/commands/sio.go:133: undefined: socketio.NameSpace

It seems that I'm using the updated version for go-socket.io and things have changed a bit so the way kaiju/commands was written is no longer valid.

Is there any plans to migrate kaiju/commands to most rescent version of go-socket.io ?

Thank you

I've fixed this with git clone -b 0.9.x https://github.com/googollee/go-socket.io.git and installing it to the gopath

hey @thomasmodeneis assuming you've been able to address the issues you've been seeing, what's your impression of this project? i'm comparing this against http://posativ.org/isso
isso seems well maintained and i like it uses sqlite, but it's in python has no gravatar support, i like that this is in Go and it looks a bit more lightweight

Hi Dieterbe,
Yes Kaiju is light weight, with MongoDB and have websockets support.
My impression of this project is that it's a great idea but has been left alone for a long time, and as Golang is changing daily many of his implementations are outdated. However it has good features and have a great potential.

@Dieterbe @thomasmodeneis

Thanks for your interest. I would say this project is 90% done on the backend and pretty close on the front end. Yes, there are some areas that need updating due to progress made. If there is interest I'm happy to help. I don't have a ton of time right now, but I'll happily fix bugs and improve it if people are using it.

I bet we could get more of the hugo community to help here as well.

Thanks for the interest.
I've made you both committers since you've both shown interest in it.

Great!