0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-14 09:50:40 +00:00
wp-opentofu/vendor/github.com/franela/goblin/go.snippets

37 lines
397 B
Plaintext
Raw Normal View History

2017-05-30 14:47:23 +00:00
snippet gd
g.Describe("${1:name}", func() {
${2}
})
${0}
snippet git
g.It("${1:name}", func() {
${2}
})
${0}
snippet gait
g.It("${1:name}", func(done Done) {
done()
${2}
})
${0}
snippet gb
g.Before(func() {
${1}
})
${0}
snippet gbe
g.BeforeEach(func() {
${1}
})
${0}
snippet ga
g.After(func() {
${1}
})
${0}
snippet gae
g.AfterEach(func() {
${1}
})
${0}