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

11 lines
194 B
XML

<snippet>
<tabTrigger>ife</tabTrigger>
<scope>source.go</scope>
<description>panic on error</description>
<content><![CDATA[
if ${1:err} != nil {
${2:panic}(${1})
}
]]></content>
</snippet>