Merge pull request #490 from gchaincl/master
Add receiver to fum snippet
This commit is contained in:
commit
e623bbfca3
@ -148,8 +148,8 @@ snippet fun
|
||||
${0}
|
||||
# function on receiver
|
||||
snippet fum
|
||||
func (self ${1:type}) ${2:funcName}(${3}) ${4:error} {
|
||||
${5}
|
||||
func (${1:receiver} ${2:type}) ${3:funcName}(${4}) ${5:error} {
|
||||
${6}
|
||||
}
|
||||
${0}
|
||||
# log printf
|
||||
|
Loading…
x
Reference in New Issue
Block a user