Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go get failed with too many errors #31

Open
dawei101 opened this issue Jan 14, 2017 · 2 comments
Open

go get failed with too many errors #31

dawei101 opened this issue Jan 14, 2017 · 2 comments

Comments

@dawei101
Copy link

#$ go get github.com/inconshreveable/gonative
# github.com/inconshreveable/gonative
../go/src/github.com/inconshreveable/gonative/gonative.go:67: cannot use "" (type string) as type bool in field value
../go/src/github.com/inconshreveable/gonative/gonative.go:67: cannot use nil as type string in field value
../go/src/github.com/inconshreveable/gonative/gonative.go:67: too few values in struct initializer
../go/src/github.com/inconshreveable/gonative/gonative.go:68: cannot use "" (type string) as type bool in field value
../go/src/github.com/inconshreveable/gonative/gonative.go:68: cannot use nil as type string in field value
../go/src/github.com/inconshreveable/gonative/gonative.go:68: too few values in struct initializer
../go/src/github.com/inconshreveable/gonative/gonative.go:69: cannot use "" (type string) as type bool in field value
../go/src/github.com/inconshreveable/gonative/gonative.go:69: cannot use nil as type string in field value
../go/src/github.com/inconshreveable/gonative/gonative.go:69: too few values in struct initializer
../go/src/github.com/inconshreveable/gonative/gonative.go:70: cannot use "" (type string) as type bool in field value
../go/src/github.com/inconshreveable/gonative/gonative.go:70: too many errors
@rof20004
Copy link

You solved your problem? I am getting this errors too '-'

@rustyx
Copy link

rustyx commented Apr 12, 2021

Same here, with different kind of errors:

$ go version
go version go1.14.7 linux/amd64
$ go get github.com/inconshreveable/gonative
# github.com/inconshreveable/axiom
../../go/src/github.com/inconshreveable/axiom/axiom.go:83:15: cannot use WrapAll(app.Commands, wrappers...) (type []cli.Command) as type []*cli.Command in assignment
../../go/src/github.com/inconshreveable/axiom/axiom.go:83:28: cannot use app.Commands (type []*cli.Command) as type []cli.Command in argument to WrapAll
../../go/src/github.com/inconshreveable/axiom/axiom.go:108:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../../go/src/github.com/inconshreveable/axiom/axiom.go:108:113: unknown field 'EnvVar' in struct literal of type cli.StringFlag
../../go/src/github.com/inconshreveable/axiom/axiom.go:109:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../../go/src/github.com/inconshreveable/axiom/axiom.go:109:84: unknown field 'EnvVar' in struct literal of type cli.StringFlag
../../go/src/github.com/inconshreveable/axiom/axiom.go:110:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../../go/src/github.com/inconshreveable/axiom/axiom.go:110:116: unknown field 'EnvVar' in struct literal of type cli.StringFlag
../../go/src/github.com/inconshreveable/axiom/axiom.go:112:29: invalid type assertion: cmd.Action.(<func>) (non-interface type cli.ActionFunc on left)
../../go/src/github.com/inconshreveable/axiom/axiom.go:113:13: cannot use func literal (type func(*cli.Context)) as type cli.ActionFunc in assignment
../../go/src/github.com/inconshreveable/axiom/axiom.go:113:13: too many errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants