Hacker News new | ask | show | jobs
by hnarn 2167 days ago
I also really like the "flag" package for Go, it generates the help text for you and easily lets you set defaults as well as helps you type-check inputs.
1 comments

I like https://github.com/jpillora/opts for Go arg parsing. It has better, sane defaults with long/short opts.
Cool, I'll check it out. There's something attractive about using stuff from the standard library though.