flutter-webrtc-server
flutter-webrtc-server copied to clipboard
cannot find package
cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger" in any of: /usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger (from $GOROOT) /root/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger (from $GOPATH) cmd/server/main.go:7:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler" in any of: /usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler (from $GOROOT) /root/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler (from $GOPATH) cmd/server/main.go:8:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn" in any of: /usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn (from $GOROOT) /root/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn (from $GOPATH) cmd/server/main.go:9:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket" in any of: /usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket (from $GOROOT) /root/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket (from $GOPATH) cmd/server/main.go:10:2: cannot find package "gopkg.in/ini.v1" in any of: /usr/lib/go-1.10/src/gopkg.in/ini.v1 (from $GOROOT) /root/go/src/gopkg.in/ini.v1 (from $GOPATH)
cmd/server/main.go:6:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger" in any of: /usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger (from $GOROOT) /home/binhnt/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/logger (from $GOPATH) cmd/server/main.go:7:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler" in any of: /usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler (from $GOROOT) /home/binhnt/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/signaler (from $GOPATH) cmd/server/main.go:8:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn" in any of: /usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn (from $GOROOT) /home/binhnt/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/turn (from $GOPATH) cmd/server/main.go:9:2: cannot find package "github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket" in any of: /usr/lib/go-1.10/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket (from $GOROOT) /home/binhnt/go/src/github.com/cloudwebrtc/flutter-webrtc-server/pkg/websocket (from $GOPATH) cmd/server/main.go:10:2: cannot find package "gopkg.in/ini.v1" in any of: /usr/lib/go-1.10/src/gopkg.in/ini.v1 (from $GOROOT) /home/binhnt/go/src/gopkg.in/ini.v1 (from $GOPATH)
Please try the last commit
Try this export GO111MODULE=on