Skip to content

Instantly share code, notes, and snippets.

@corsc
Last active April 11, 2016 23:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corsc/ef5b9e9b097b4ced6cb6 to your computer and use it in GitHub Desktop.
Save corsc/ef5b9e9b097b4ced6cb6 to your computer and use it in GitHub Desktop.
IntelliJ Live Templates for Go
assert.Equal(t, $END$, )
assert.Nil(t, $END$)
assert.NotNil(t, $END$)
assert.True(t, $END$)
for key, value := range collection {
}
fmt.Printf("", )
func Test$NAME$_TDT(t *testing.T) {
scenarios := []struct{
desc string
}{
{
desc: "$END$",
},
}
for _, scenario := range scenarios {
}
}
func Test$NAME$(t *testing.T) {
$END$
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment