ipsn / go-libtor

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

Example program (main.go) won't run #24

Open scrape01 opened 3 years ago

scrape01 commented 3 years ago
~/Desktop/GoProjects$ go run main.go
# command-line-arguments
./main.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)
sibexico commented 3 years ago

rm -rf ~/go/src/github.com/ipsn/go-libtor/vendor/github.com/cretz

Just some issue with vendor...