go get error
tarikaltuncu opened this issue · 2 comments
tarikaltuncu commented
Hi! I'm new to go, so couldn't figure this out :(
I just installed go.
$ go version
go version go1.16.3 linux/amd64
But cannot install goodls.
$ go get -u github.com/tanaikech/goodls
# github.com/tanaikech/goodls
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:380:12: cannot use []*cli.Author{...} (type []*cli.Author) as type[]cli.Author in assignment
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:388:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:393:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:399:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:404:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:409:4: unknown field 'Aliases' in struct literal of type cli.StringFlag
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:414:4: unknown field 'Aliases' in struct literal of type cli.BoolFlag
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:419:4: unknown field 'Aliases' in struct literal of type cli.BoolFlag
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:424:4: unknown field 'Aliases' in struct literal of type cli.BoolFlag
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:429:4: unknown field 'Aliases' in struct literal of type cli.BoolFlag
go/pkg/mod/github.com/tanaikech/goodls@v1.2.7/goodls.go:429:4: too many errors
SteepoyTV commented
fix ?
erenaksoy commented
Try installing with;
go install github.com/tanaikech/goodls@master