dotfiles/.emacs.d/snippets/go-mode/iferr

8 lines
81 B
Plaintext

# -*- mode: snippet -*-
# name: if error
# key: iferr
# --
if err != $1 {
$0
}