pebbe / zmq4

A Go interface to ZeroMQ version 4
BSD 2-Clause "Simplified" License
1.17k stars 166 forks source link

Failed to compile in docker #201

Open PerrywLiu opened 5 months ago

PerrywLiu commented 5 months ago

Seems to be the required dependency file, any friends have encountered similar problems? Please help, thank you!

8 10.16. /pkg/mod/github.com/pebbe/zmq4@v1.2.11/reactor.go:10:4: undefined: State

User Chain API server

8 10.16 . /pkg/mod/github.com/pebbe/zmq4@v1.2.11/reactor.go:11:9: undefined: State

8 10.16 ../pkg/mod/github.com/pebbe/zmq4@v1.2.11/reactor.go:23:12: undefined: Poller

8 10.16

8 10.16 . • /pkg/mod/github.com/pebbe/zmq4@v1.2.11/utils.go:17:12: undefined: Socket

8 10.16

8 10.16../pkg/mod/github.com/pebbe/zmq4@v1.2.11/reactor.go:21:16: undefined: Socket 由两个模抉合井而来:

•./pkg/mod/github.com/pebbe/zmq4@v1.2.11/reactor.go: 61:34: undefined: Socket 。Switcher API Server 提供触发 Stratum 切换的API

8 10.16../pkg/mod/github.com/pebbe/zmq4@v1.2.11/reactor.go:61:49: undefined: State

。 Init User Coin 初始化zookeeper里的用户币种记录

8 10.16../pkg/mod/github.com/pebbe/zmq4@v1.2.11/reactor.go: 68:37: undefined: Socket

•./pkg/mod/github.com/pebbe/zmq4@v1.2.11/utils.go:28:12: undefined: Socket

8 10.16 ../pkg/mod/github.com/pebbe/zmq4@v1.2.11/utils.go:28:12: too many error