From 5c2229c80744ccc2879557b123fd8b2796e38301 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 11 Nov 2020 10:48:34 +0000 Subject: [PATCH] feat(snippets): add Golang snippet ft "for _, tt := range tests {...}" --- snippets/go-mode/ft | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 snippets/go-mode/ft diff --git a/snippets/go-mode/ft b/snippets/go-mode/ft new file mode 100644 index 0000000..c3e41f0 --- /dev/null +++ b/snippets/go-mode/ft @@ -0,0 +1,7 @@ +# key: ft +# -- +for _, tt := range ${1:tests} { + t.Run(tt.name, func(t *testing.T) { + $0 + }) +} \ No newline at end of file