ipsn / go-libtor

Self-contained Tor from Go
BSD 3-Clause "New" or "Revised" License
544 stars 46 forks source link

Out of Date Documentation/Bine Creator Usage #27

Open JustinTimperio opened 3 years ago

JustinTimperio commented 3 years ago

When I run the code example provided here, I get the following error:

# command-line-arguments
./test.go:18:42: cannot use "github.com/ipsn/go-libtor".Creator (type "github.com/ipsn/go-libtor/vendor/github.com/cretz/bine/process".Creator) as type "github.com/cretz/bine/process".Creator in field value:
        "github.com/ipsn/go-libtor/vendor/github.com/cretz/bine/process".Creator does not implement "github.com/cretz/bine/process".Creator (wrong type for New method)
                have New(context.Context, ...string) ("github.com/ipsn/go-libtor/vendor/github.com/cretz/bine/process".Process, error)
                want New(context.Context, ...string) ("github.com/cretz/bine/process".Process, error)
JustinTimperio commented 3 years ago

This issue seems to be a duplicate of #24