summary refs log tree commit diff
path: root/snippets/go-mode/method
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-06-01 19:35:59 -0700
committerFranck Cuny <franck@fcuny.net>2023-06-01 19:35:59 -0700
commita187752c824b47052d33d3bc12749b5a7d2e8191 (patch)
treed939397496dcae8a7634a93b159fab57ee1752ec /snippets/go-mode/method
parentelfeed: add more feeds (diff)
downloademacs.d-a187752c824b47052d33d3bc12749b5a7d2e8191.tar.gz
🤡
Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
Diffstat (limited to 'snippets/go-mode/method')
-rw-r--r--snippets/go-mode/method8
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