Add receiver to fum snippet
This commit is contained in:
parent
78c2c1dc3b
commit
4c988d2012
@ -148,8 +148,8 @@ snippet fun
|
|||||||
${0}
|
${0}
|
||||||
# function on receiver
|
# function on receiver
|
||||||
snippet fum
|
snippet fum
|
||||||
func (self ${1:type}) ${2:funcName}(${3}) ${4:error} {
|
func (${1:receiver} ${2:type}) ${3:funcName}(${4}) ${5:error} {
|
||||||
${5}
|
${6}
|
||||||
}
|
}
|
||||||
${0}
|
${0}
|
||||||
# log printf
|
# log printf
|
||||||
|
Loading…
Reference in New Issue
Block a user