feat(snippets): add Golang snippet ft "for _, tt := range tests {...}"

This commit is contained in:
2020-11-11 10:48:34 +00:00
parent 41f2d5c826
commit 5c2229c807

7
snippets/go-mode/ft Normal file
View File

@@ -0,0 +1,7 @@
# key: ft
# --
for _, tt := range ${1:tests} {
t.Run(tt.name, func(t *testing.T) {
$0
})
}