Go's best-kept secret: executable examples

2 points by gus_leonel 2 months ago | 1 comment
  • mohi-kalantari 2 months ago
    Seems pretty cool! The only caveat is that it works pretty well with purer functions that have outputs which can be formatted. Writing these docs for more complex tests returning abstract types not in the built-in library can be overwhelming.