Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

'encoding/json' is definitely more powerful than Python's JSON package. 'http' is similar.

But I will say that 'flag' isn't even _close_ to being comparable to argparse. flag is, like, the bare minimum you would need to write a command line application that accepts flags and generates help text. There are dozens of libraries for Go that more closely resemble argparse because flag's capabilities are so limited.



> flag's capabilities are so limited

It's a shame Go's flag package is so poor. Even Docker, who seem to be hugely invested in Go, say "seriously just don't use it". [1]

[1] http://www.slideshare.net/jpetazzo/docker-and-go-why-did-we-...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: