Skip to content

Commit

Permalink
fix catch2stderr and 2stdout snips
Browse files Browse the repository at this point in the history
  • Loading branch information
lainio committed Jan 14, 2024
1 parent 4161c2b commit 3a7efb4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions snippets/go.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
".source.go": {
"defer err2.Catch to stderr": {
"prefix": "ecte",
"body": "defer err2.Catch(err2.toStderr)\n",
"description": "Snippet for err2.Catch(toStderr)"
"body": "defer err2.Catch(err2.ToStderr)\n",
"description": "Snippet for err2.Catch(ToStderr)"
},
"defer err2.Catch to stdout": {
"prefix": "ecte",
"body": "defer err2.Catch(err2.ToStdout)\n",
"description": "Snippet for err2.Catch(ToStdout)"
},
"defer err2.Catch": {
"prefix": "eca",
Expand Down

0 comments on commit 3a7efb4

Please sign in to comment.