diff --git a/snippets/go.snippets b/snippets/go.snippets index 0e4fe61..372fb57 100644 --- a/snippets/go.snippets +++ b/snippets/go.snippets @@ -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