Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

"go get" fails with "too many errors" #12

@Samuar

Description

@Samuar

When using either go1.13.4 and go1.12.13 linux/amd64 builds from https://golang.org/dl/ on Ubuntu 18.04, running:

go get github.com/google/easypki/cmd/easypki

Results in:

# github.com/google/easypki/cmd/easypki
go/src/github.com/google/easypki/cmd/easypki/main.go:52:37: cannot slice c.Args() (type cli.Args)
go/src/github.com/google/easypki/cmd/easypki/main.go:126:14: cannot range over c.Args() (type cli.Args)
go/src/github.com/google/easypki/cmd/easypki/main.go:159:5: app.Author undefined (type *cli.App has no field or method Author)
go/src/github.com/google/easypki/cmd/easypki/main.go:160:5: app.Email undefined (type *cli.App has no field or method Email)
go/src/github.com/google/easypki/cmd/easypki/main.go:171:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
	cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/google/easypki/cmd/easypki/main.go:175:4: unknown field 'EnvVar' in struct literal of type cli.StringFlag
go/src/github.com/google/easypki/cmd/easypki/main.go:184:4: cannot use r.revoke (type func(*cli.Context)) as type cli.ActionFunc in field value
go/src/github.com/google/easypki/cmd/easypki/main.go:189:4: cannot use r.crl (type func(*cli.Context)) as type cli.ActionFunc in field value
go/src/github.com/google/easypki/cmd/easypki/main.go:191:16: cannot use cli.IntFlag literal (type cli.IntFlag) as type cli.Flag in array or slice literal:
	cli.IntFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/google/easypki/cmd/easypki/main.go:196:5: cannot use caNameFlag (type cli.StringFlag) as type cli.Flag in array or slice literal:
	cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/google/easypki/cmd/easypki/main.go:196:5: too many errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions