From 4036a5339ba9c13a19fb98576de06f65e6e03273 Mon Sep 17 00:00:00 2001 From: Andreas Krennmair Date: Fri, 8 Feb 2013 20:21:40 +0100 Subject: [PATCH] go: type os.Error became built-in type error after go r60. --- snippets/go.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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