snippet pri "fmt.Println"
fmt.Printf("$0\n")
endsnippet

snippet err "Error handling"
if err := $1; err != nil {
	$0
}
endsnippet

snippet main_ "main template"
package main

import(
	"fmt"
	  )

func main(){
	fmt.Printf("$0\n")
}
endsnippet
