I actually did a pair programming session with JBrains on TDD to enhance my skill. What he explained to me was exactly this.
You need to test something, for example you want to test how regexp works. You start writing tests with your expectations and go on.
After you are satisfied, you actually keep this in a package for reference and documentation on works the library.
jpittis|6 years ago
I use Vim for programming Go and have a few custom scripts built on top of https://github.com/fatih/vim-go.
InvOfSmallC|6 years ago