goris
goris copied to clipboard
Error installing package
trafficstars
I am getting some errors when trying to install the package:
$ go version
go version go1.16.3 darwin/amd64
$ go get -u github.com/tanaikech/goris
go: downloading github.com/tanaikech/goris v1.1.1
go: downloading github.com/tanaikech/goris v2.0.0+incompatible
go: downloading github.com/PuerkitoBio/goquery v1.6.1
go: downloading github.com/urfave/cli v1.22.5
go: downloading github.com/andybalholm/cascadia v1.1.0
go: downloading golang.org/x/net v0.0.0-20200202094626-16171245cfb2
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d
go: downloading github.com/andybalholm/cascadia v1.2.0
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
go: downloading github.com/russross/blackfriday v1.6.0
go: downloading github.com/russross/blackfriday/v2 v2.1.0
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
# github.com/tanaikech/goris
../../go/pkg/mod/github.com/tanaikech/[email protected]+incompatible/goris.go:64:12: cannot use []*cli.Author{...} (type []*cli.Author) as type []cli.Author in assignment
../../go/pkg/mod/github.com/tanaikech/[email protected]+incompatible/goris.go:69:13: cannot use []*cli.Command{...} (type []*cli.Command) as type []cli.Command in assignment
../../go/pkg/mod/github.com/tanaikech/[email protected]+incompatible/goris.go:79:6: unknown field 'Aliases' in struct literal of type cli.StringFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]+incompatible/goris.go:84:6: unknown field 'Aliases' in struct literal of type cli.StringFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]+incompatible/goris.go:89:6: unknown field 'Aliases' in struct literal of type cli.IntFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]+incompatible/goris.go:95:6: unknown field 'Aliases' in struct literal of type cli.BoolFlag
../../go/pkg/mod/github.com/tanaikech/[email protected]+incompatible/goris.go:100:6: unknown field 'Aliases' in struct literal of type cli.BoolFlag
I updated this to v3.0.0. Ref Could you please confirm it?
Same thing happened to me so i got the version from releases instead