libp2p/go-reuseport-transport

unknown field reuseport.Control at file reuseport.go, import from libp2p/go-reuseport

Closed this issue · 1 comments

When I build a project that includes go-reuseport-transport, returns error:

# github.com/libp2p/go-reuseport-transport
../../libp2p/go-reuseport-transport/reuseport.go:50:10: unknown field 'Control' in struct literal of type net.Dialer

Related to libp2p/go-reuseport#64

You need go1.11. gx or go.mod will help avoid these problems.