diff options
author | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
commit | a187752c824b47052d33d3bc12749b5a7d2e8191 (patch) | |
tree | d939397496dcae8a7634a93b159fab57ee1752ec /snippets/go-mode/method | |
parent | elfeed: add more feeds (diff) | |
download | emacs.d-a187752c824b47052d33d3bc12749b5a7d2e8191.tar.gz |
🤡
Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
Diffstat (limited to 'snippets/go-mode/method')
-rw-r--r-- | snippets/go-mode/method | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/snippets/go-mode/method b/snippets/go-mode/method new file mode 100644 index 0000000..78e61fc --- /dev/null +++ b/snippets/go-mode/method @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: method +# key: method +# -- +// $2 ${5:...} +func (${1:recv}) ${2:name}(${3:args}) $4 { + $0 +} \ No newline at end of file |