Minor tweak to func and meth go-mode snippets

This commit is contained in:
2019-12-06 13:12:29 +00:00
parent 4e2caf188a
commit aedea7dc3a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
# key: func
# --
func ${1:name}($2) {
$0
func ${1:name}($2) $3 {
$0
}

View File

@@ -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
}