1
0
Fork 0
dotfiles/sublime/snippets/Go panic on error.sublime-s...

11 lines
194 B
Plaintext
Raw Normal View History

2017-10-05 11:25:41 +00:00
<snippet>
<tabTrigger>ife</tabTrigger>
<scope>source.go</scope>
<description>panic on error</description>
<content><![CDATA[
if ${1:err} != nil {
${2:panic}(${1})
}
]]></content>
</snippet>