rene $ go version
go version go1.13.3 darwin/amd64
[~/Code/gcal-test]
rene $ go get github.com/rhardih/serve
# github.com/rhardih/serve
../go/src/github.com/rhardih/serve/serve.go:140:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/rhardih/serve/serve.go:145:14: 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/rhardih/serve/serve.go:151:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/rhardih/serve/serve.go:156:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../go/src/github.com/rhardih/serve/serve.go:163:13: cannot use func literal (type func(*cli.Context)) as type cli.ActionFunc in assignment
../go/src/github.com/rhardih/serve/serve.go:165:19: invalid operation: c.Args()[0] (type cli.Args does not support indexing)