mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(lang): add print related go-mode snippets
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
# key: pdf
|
||||
# --
|
||||
fmt.Printf($0)
|
||||
3
snippets/go-mode/pf
Normal file
3
snippets/go-mode/pf
Normal file
@@ -0,0 +1,3 @@
|
||||
# key: pf
|
||||
# --
|
||||
fmt.Printf(${1:format string}, ${2:a ...interface{\}})$0
|
||||
3
snippets/go-mode/pl
Normal file
3
snippets/go-mode/pl
Normal file
@@ -0,0 +1,3 @@
|
||||
# key: pl
|
||||
# --
|
||||
fmt.Println($0)
|
||||
4
snippets/go-mode/ppd
Normal file
4
snippets/go-mode/ppd
Normal file
@@ -0,0 +1,4 @@
|
||||
# name: fmt.Printf("...: %+v\n", ...)
|
||||
# key: ppd
|
||||
# --
|
||||
fmt.Printf("$1: %+v\n", $1)$0
|
||||
4
snippets/go-mode/spf
Normal file
4
snippets/go-mode/spf
Normal file
@@ -0,0 +1,4 @@
|
||||
# name: fmt.Sprintf(format string, a ...interface{})
|
||||
# key: spf
|
||||
# --
|
||||
fmt.Sprintf(${1:format string}, ${2:a ...interface{\}})$0
|
||||
Reference in New Issue
Block a user