go.snippets
raw| 1 | snippet gd |
| 2 | g.Describe("${1:name}", func() { |
| 3 | ${2} |
| 4 | }) |
| 5 | ${0} |
| 6 | snippet git |
| 7 | g.It("${1:name}", func() { |
| 8 | ${2} |
| 9 | }) |
| 10 | ${0} |
| 11 | snippet gait |
| 12 | g.It("${1:name}", func(done Done) { |
| 13 | done() |
| 14 | ${2} |
| 15 | }) |
| 16 | ${0} |
| 17 | snippet gb |
| 18 | g.Before(func() { |
| 19 | ${1} |
| 20 | }) |
| 21 | ${0} |
| 22 | snippet gbe |
| 23 | g.BeforeEach(func() { |
| 24 | ${1} |
| 25 | }) |
| 26 | ${0} |
| 27 | snippet ga |
| 28 | g.After(func() { |
| 29 | ${1} |
| 30 | }) |
| 31 | ${0} |
| 32 | snippet gae |
| 33 | g.AfterEach(func() { |
| 34 | ${1} |
| 35 | }) |
| 36 | ${0} |