mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Minor tweak to func and meth go-mode snippets
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# key: func
|
||||
# --
|
||||
func ${1:name}($2) {
|
||||
$0
|
||||
func ${1:name}($2) $3 {
|
||||
$0
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
# name: struct method
|
||||
# key: meth
|
||||
# --
|
||||
func (${1:s *Struct}) ${2:Name}($3) {
|
||||
func (${1:s *${2:Struct}) ${3:name}($4) $5 {
|
||||
$0
|
||||
}
|
||||
Reference in New Issue
Block a user