Open link in next tab
Go’s best-kept secret: executable examples — Bitfield Consulting
https://bitfieldconsulting.com/golang/examples
Did you know that Go lets us provide executable code examples as part of our documentation? It’s pretty neat. Let’s take a tour of this useful feature and see how it works.