go-libtor icon indicating copy to clipboard operation
go-libtor copied to clipboard

Out of Date Documentation/Bine Creator Usage

Open JustinTimperio opened this issue 4 years ago • 1 comments

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 avatar Feb 09 '21 02:02 JustinTimperio

This issue seems to be a duplicate of #24

JustinTimperio avatar Feb 09 '21 04:02 JustinTimperio