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:
Honza Pokorny 2013-02-08 12:35:53 -08:00
commit 12bf43a293

View File

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