austinM to GolangEnglish · 1 year agoGo’s best-kept secret: executable examplesbitfieldconsulting.comexternal-linkmessage-square5fedilinkarrow-up122arrow-down12cross-posted to: [email protected]
arrow-up120arrow-down1external-linkGo’s best-kept secret: executable examplesbitfieldconsulting.comaustinM to GolangEnglish · 1 year agomessage-square5fedilinkcross-posted to: [email protected]
minus-squareOliver Lowe@lemmy.sdf.orglinkfedilinkEnglisharrow-up2·1 year ago 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).