koding / kite

Micro-service framework in Go
https://godoc.org/github.com/koding/kite
MIT License
3.27k stars 300 forks source link

why undefined sockjs.SessionState? #232

Open sowhat001 opened 4 years ago

sowhat001 commented 4 years ago

In my environment, the demo can not be compiled. Wrong is:

github.com/koding/kite/sockjsclient ../../../go/pkg/mod/github.com/koding/kite@v0.0.0-20180710021347-baa1a54919e3/sockjsclient/sockjsclient.go:39:8: undefined: sockjs.SessionState

The import statement of package sockjs is:

import "github.com/igm/sockjs-go/sockjs"

In go.mod, the version of this package is:

github.com/igm/sockjs-go v2.0.1+incompatible

I've tried to change the version of sockjs-go package, but it didn't work, it is really confused.

superengine2wds commented 4 years ago

+1