From 9c83af34195ed0113df01f8c0e4a734ab4084e20 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 20 Oct 2024 19:21:53 +0300 Subject: . --- emacs.d/snippets/go-mode/error | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 emacs.d/snippets/go-mode/error (limited to 'emacs.d/snippets/go-mode/error') diff --git a/emacs.d/snippets/go-mode/error b/emacs.d/snippets/go-mode/error new file mode 100644 index 0000000..799e9f8 --- /dev/null +++ b/emacs.d/snippets/go-mode/error @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: error +# key: err@ +# -- +if err != nil { + $0 +} -- cgit v1.2.3