Skip to content
Browse files

Start adding snipmate snippets for the go language

Signed-off-by: Chris Larson <chris_larson@mentor.com>
  • Loading branch information...
1 parent d0e058e commit 242c6cdce850425edfe0ac13e328bd2e92ae1ba4 @kergoth committed Aug 25, 2010
Showing with 15 additions and 0 deletions.
  1. +15 −0 snippets/go.snippets
View
15 snippets/go.snippets
@@ -0,0 +1,15 @@
+snippet pkg
+ package ${1:package}
+
+snippet imp
+ import ${1:package}
+
+snippet func
+ func ${1:fname}(${2:args}) ${3:returns} {
+ ${4:body}
+ }
+
+snippet main
+ func main () {
+ ${1:body}
+ }

0 comments on commit 242c6cd

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