codegangsta / gin

Live reload utility for Go web servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fails

austin-hayashi-jones opened this issue · comments

Running go get github.com/codegangsta/gin is failing for me. Is this due to a recent update? It was working a month ago

➜  ~ go get github.com/codegangsta/gin
# github.com/codegangsta/gin
go/src/github.com/codegangsta/gin/main.go:39:13: cannot use MainAction (type func(*cli.Context)) as type cli.ActionFunc in assignment
go/src/github.com/codegangsta/gin/main.go:41: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/codegangsta/gin/main.go:44:4: unknown field 'EnvVar' in struct literal of type cli.StringFlag
go/src/github.com/codegangsta/gin/main.go:47: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/codegangsta/gin/main.go:50:4: unknown field 'EnvVar' in struct literal of type cli.IntFlag
go/src/github.com/codegangsta/gin/main.go:53: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/codegangsta/gin/main.go:56:4: unknown field 'EnvVar' in struct literal of type cli.IntFlag
go/src/github.com/codegangsta/gin/main.go:59: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/codegangsta/gin/main.go:62:4: unknown field 'EnvVar' in struct literal of type cli.StringFlag
go/src/github.com/codegangsta/gin/main.go:68:4: unknown field 'EnvVar' in struct literal of type cli.StringFlag
go/src/github.com/codegangsta/gin/main.go:68:4: too many errors