mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(snippets): add Golang snippet ft "for _, tt := range tests {...}"
This commit is contained in:
7
snippets/go-mode/ft
Normal file
7
snippets/go-mode/ft
Normal file
@@ -0,0 +1,7 @@
|
||||
# key: ft
|
||||
# --
|
||||
for _, tt := range ${1:tests} {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
$0
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user