0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-09-20 11:52:46 +02:00
wp-opentofu/vendor/github.com/franela/goblin/go.snippets

37 lines
397 B
Plaintext
Raw Normal View History

2017-05-30 16:47:23 +02: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}