Anyone used go-libp2p-pubsub before?

when I run go get as readme file suggested, there is a error :

…/…/go/src/ log.EventBegin undefined (type *log.ZapEventLogger has no field or method EventBegin)

Does anyone know how to use this module only?

thanks in advance

It is widely used by many projects and we’ve never seen this before.

Btw, are you using go mod? It must be used with go modules.

go mod works. and I tried in different folder and it shows

go: downloading v0.3.2
go: upgrade => v0.3.2

and also I could find it in gopath/src/

so I guess I go get it into my gopath folder?

anyway, it works now thanks a lot!