Does Go have anything even close to clap/structopt?
Re:Go vs. Rust: Writing a CLI Tool
by alecthomas on Tuesday August 04, 2020 @07:12AM
(#24048760)
Yes, though unlike Rust they use reflection:
https://github.com/alecthomas/kong (my own)
Thanks. Looks good. The reflections don't bother me (that's the way to go with in Go).
Rust offers statically checked deterministic destruction, which makes handling non-memory resources much safer from leaks. Failing to dispose non-memory resources properly (e.g in databases) may be considered a correctness problem. Rust helps in this area, Go doesn't.