austin@programming.devM to Golang@programming.devEnglish · 3 年前Go’s best-kept secret: executable examplesbitfieldconsulting.comexternal-linkmessage-square5linkfedilinkarrow-up121arrow-down12cross-posted to: golang@lemmy.ml
arrow-up119arrow-down1external-linkGo’s best-kept secret: executable examplesbitfieldconsulting.comaustin@programming.devM to Golang@programming.devEnglish · 3 年前message-square5linkfedilinkcross-posted to: golang@lemmy.ml
minus-squareOliver LowelinkfedilinkEnglisharrow-up2·3 年前 Do you know any projects that utilize this, so I can see an example implementation of this? The sort package in the standard library uses testable examples (source code).
The sort package in the standard library uses testable examples (source code).