summaryrefslogtreecommitdiff
path: root/modules/timeModule.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/timeModule.go')
-rw-r--r--modules/timeModule.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/timeModule.go b/modules/timeModule.go
new file mode 100644
index 0000000..501b2fe
--- /dev/null
+++ b/modules/timeModule.go
@@ -0,0 +1,10 @@
+package modules
+
+import "time"
+
+type TimeModule struct {
+}
+
+func (_ TimeModule) GetInfo() (string, error) {
+ return time.Now().Format(time.Kitchen), nil
+}