Merge pull request #169 from akrennmair/master
go.snippets: changed os.Error to error because that type changed after Go r60.
This commit is contained in:
commit
12bf43a293
@ -126,12 +126,12 @@ snippet fr
|
||||
}
|
||||
# function simple
|
||||
snippet fun
|
||||
func ${1:funcName}(${2}) ${3:os.Error} {
|
||||
func ${1:funcName}(${2}) ${3:error} {
|
||||
${4:/* code */}
|
||||
}
|
||||
# function on receiver
|
||||
snippet fum
|
||||
func (self ${1:type}) ${2:funcName}(${3}) ${4:os.Error} {
|
||||
func (self ${1:type}) ${2:funcName}(${3}) ${4:error} {
|
||||
${5:/* code */}
|
||||
}
|
||||
# make
|
||||
|
Loading…
Reference in New Issue
Block a user