File: go.snippets

package info (click to toggle)
golang-github-franela-goblin 0.0.1%2Bgit20211003.62.0a4f594-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 252 kB
  • sloc: makefile: 4
file content (36 lines) | stat: -rw-r--r-- 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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}