Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Start adding snipmate snippets for the go language

Signed-off-by: Chris Larson <chris_larson@mentor.com>
  • Loading branch information...
commit 242c6cdce850425edfe0ac13e328bd2e92ae1ba4 1 parent d0e058e
Christopher Larson authored

Showing 1 changed file with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. +15 0 snippets/go.snippets
15 snippets/go.snippets
... ... @@ -0,0 +1,15 @@
  1 +snippet pkg
  2 + package ${1:package}
  3 +
  4 +snippet imp
  5 + import ${1:package}
  6 +
  7 +snippet func
  8 + func ${1:fname}(${2:args}) ${3:returns} {
  9 + ${4:body}
  10 + }
  11 +
  12 +snippet main
  13 + func main () {
  14 + ${1:body}
  15 + }

0 comments on commit 242c6cd

Please sign in to comment.
Something went wrong with that request. Please try again.