aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-26 01:16:54 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-26 01:16:54 +0900
commita265ddb08fcaecc7ed52d2540585dd592df2c675 (patch)
tree037d4befcfdee7ff7545848c408ea1e0c940f405 /template
parenta6adfee6ee5e59308f85bcfa331396814fb4d7d7 (diff)
downloadvim-sonictemplate-a265ddb08fcaecc7ed52d2540585dd592df2c675.tar.gz
vim-sonictemplate-a265ddb08fcaecc7ed52d2540585dd592df2c675.tar.bz2
vim-sonictemplate-a265ddb08fcaecc7ed52d2540585dd592df2c675.zip
Use default for _name_
Diffstat (limited to 'template')
-rw-r--r--template/go/base-package-cgo.go2
-rw-r--r--template/go/base-package.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/go/base-package-cgo.go b/template/go/base-package-cgo.go
index 50dab19..86b7739 100644
--- a/template/go/base-package-cgo.go
+++ b/template/go/base-package-cgo.go
@@ -1,4 +1,4 @@
-package {{_name_}}
+package {{_name_:main}}
/*
#include {{_cursor_}}
diff --git a/template/go/base-package.go b/template/go/base-package.go
index 14586d8..4ab0650 100644
--- a/template/go/base-package.go
+++ b/template/go/base-package.go
@@ -1,3 +1,3 @@
-package {{_name_}}
+package {{_name_:main}}
{{_cursor_}}