alecthomas / kong

Kong is a command-line parser for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"docker" example is KO

rgarrigue opened this issue · comments

commented

Hi there

Getting started following the docker example here. Turns out it's broken

❯ go run main.go
# command-line-arguments
./main.go:36:10: undefined: AttachCmd
./main.go:37:10: undefined: BuildCmd
...

Thanks for kong :-)

Hello,
this is unrelated to kong.
go run wants a package, not a file.

In the same directory, try with (notice the dot):

go run .

in the root directory, try with

go run ./_examples/docker