Skip to content

Commit

Permalink
Rename errr to errh
Browse files Browse the repository at this point in the history
  • Loading branch information
nowk committed Feb 28, 2015
1 parent b3d5d31 commit 679736b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gosnippets/UltiSnips/go.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ if err != nil {
${0}
endsnippet

snippet errr "Error handle and return" !b
snippet errh "Error handle and return" !b
if err != nil {
${1}
return
Expand Down
2 changes: 1 addition & 1 deletion gosnippets/snippets/go.snip
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ abbr if err != nil { return [...], err }


# error snippet handle and return
snippet errr
snippet errh
abbr if err != nil { return }
if err != nil {
${1}
Expand Down

0 comments on commit 679736b

Please sign in to comment.