aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--template/go/snip-time-date.go1
-rw-r--r--template/go/snip-time-format-yyyymmddHHMMss-micro.go1
-rw-r--r--template/go/snip-time-format-yyyymmddHHMMss-milli.go1
-rw-r--r--template/go/snip-time-format-yyyymmddHHMMss-nano.go1
4 files changed, 4 insertions, 0 deletions
diff --git a/template/go/snip-time-date.go b/template/go/snip-time-date.go
new file mode 100644
index 0000000..664ebf4
--- /dev/null
+++ b/template/go/snip-time-date.go
@@ -0,0 +1 @@
+tm := time.Date(2006, time.January, 2, 15, 4, 5, 0, time.Local)
diff --git a/template/go/snip-time-format-yyyymmddHHMMss-micro.go b/template/go/snip-time-format-yyyymmddHHMMss-micro.go
new file mode 100644
index 0000000..833f945
--- /dev/null
+++ b/template/go/snip-time-format-yyyymmddHHMMss-micro.go
@@ -0,0 +1 @@
+"2006/01/02 15:04:05.000000"
diff --git a/template/go/snip-time-format-yyyymmddHHMMss-milli.go b/template/go/snip-time-format-yyyymmddHHMMss-milli.go
new file mode 100644
index 0000000..b4fba80
--- /dev/null
+++ b/template/go/snip-time-format-yyyymmddHHMMss-milli.go
@@ -0,0 +1 @@
+"2006/01/02 15:04:05.000"
diff --git a/template/go/snip-time-format-yyyymmddHHMMss-nano.go b/template/go/snip-time-format-yyyymmddHHMMss-nano.go
new file mode 100644
index 0000000..cb9c57b
--- /dev/null
+++ b/template/go/snip-time-format-yyyymmddHHMMss-nano.go
@@ -0,0 +1 @@
+"2006/01/02 15:04:05.000000000"