summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Taylor <jtaylormuffins@gmail.com>2020-04-12 14:22:24 -0400
committerJackson Taylor <jtaylormuffins@gmail.com>2020-04-12 14:22:24 -0400
commit5c2423dd76315f4cbe191832d299b29c67fb8366 (patch)
tree21e80192e1d60102efac2604237acf0b1168b946
parent82d9f60bb183b9b85a470d2f61101ee9bfa2a95b (diff)
Add time module
-rw-r--r--timeModule.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/timeModule.go b/timeModule.go
new file mode 100644
index 0000000..da9522b
--- /dev/null
+++ b/timeModule.go
@@ -0,0 +1,10 @@
+package main
+
+import "time"
+
+type TimeModule struct {
+}
+
+func (_ TimeModule) GetInfo() (string, error) {
+ return time.Now().Format(time.Kitchen), nil
+}