diff --git a/snippets/go-mode/pdf b/snippets/go-mode/pdf deleted file mode 100644 index 36ed795..0000000 --- a/snippets/go-mode/pdf +++ /dev/null @@ -1,3 +0,0 @@ -# key: pdf -# -- -fmt.Printf($0) \ No newline at end of file diff --git a/snippets/go-mode/pf b/snippets/go-mode/pf new file mode 100644 index 0000000..135ac4b --- /dev/null +++ b/snippets/go-mode/pf @@ -0,0 +1,3 @@ +# key: pf +# -- +fmt.Printf(${1:format string}, ${2:a ...interface{\}})$0 \ No newline at end of file diff --git a/snippets/go-mode/pl b/snippets/go-mode/pl new file mode 100644 index 0000000..87fd7f6 --- /dev/null +++ b/snippets/go-mode/pl @@ -0,0 +1,3 @@ +# key: pl +# -- +fmt.Println($0) \ No newline at end of file diff --git a/snippets/go-mode/ppd b/snippets/go-mode/ppd new file mode 100644 index 0000000..d2d53c2 --- /dev/null +++ b/snippets/go-mode/ppd @@ -0,0 +1,4 @@ +# name: fmt.Printf("...: %+v\n", ...) +# key: ppd +# -- +fmt.Printf("$1: %+v\n", $1)$0 \ No newline at end of file diff --git a/snippets/go-mode/spf b/snippets/go-mode/spf new file mode 100644 index 0000000..43e823a --- /dev/null +++ b/snippets/go-mode/spf @@ -0,0 +1,4 @@ +# name: fmt.Sprintf(format string, a ...interface{}) +# key: spf +# -- +fmt.Sprintf(${1:format string}, ${2:a ...interface{\}})$0 \ No newline at end of file