summary refs log tree commit diff
path: root/snippets/go-mode/method
blob: 78e61fcc46075500bde72e332d49ab5d677b38da (plain) (blame)
1
2
3
4
5
6
7
8
# -*- mode: snippet -*-
# name: method
# key: method
# --
// $2 ${5:...}
func (${1:recv}) ${2:name}(${3:args}) $4 {
	$0
}