gitb
gitb copied to clipboard
"go get" failed on Windows
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")
using go 1.13.5
> go version
go version go1.13.5 windows/amd64