Skip to content

"go get" failed on Windows #31

@tockri

Description

@tockri

FYI, I tried to install gitb by "go get" but failed.

> go get github.com/vvatanabe/gitb

# github.com/vvatanabe/gitb
go\src\github.com\vvatanabe\gitb\main.go:37:15: cannot use []cli.Command literal (type []cli.Command) as type []*cli.Command in assignment
go\src\github.com\vvatanabe\gitb\main.go:42:19: 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\vvatanabe\gitb\main.go:55:4: cannot use []cli.Command literal (type []cli.Command) as type []*cli.Command in field value
go\src\github.com\vvatanabe\gitb\main.go:74:21: 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\vvatanabe\gitb\main.go:97:39: cannot use c.Args() (type cli.Args) as type []string in argument to repo.BlamePR
go\src\github.com\vvatanabe\gitb\main.go:108:19: 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\vvatanabe\gitb\main.go:121:4: cannot use []cli.Command literal (type []cli.Command) as type []*cli.Command in field value
go\src\github.com\vvatanabe\gitb\main.go:149:4: cannot use []cli.Command literal (type []cli.Command) as type []*cli.Command in field value

I downloaded the built binary from release page. Now I'm happy using it ✌️ (after renamed "gitb.exe")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions