diff options
author | Jackson Taylor <jtaylormuffins@gmail.com> | 2020-10-02 23:10:52 -0400 |
---|---|---|
committer | Jackson Taylor <jtaylormuffins@gmail.com> | 2020-10-02 23:10:52 -0400 |
commit | 3b25b5bc0254c7462555c9911c67266627428795 (patch) | |
tree | cb01d1fe194999925f452651230d46b1be663d2b /modules/timeModule.go | |
parent | cdeb1de96fbd01865497b481aa00c4032c446d66 (diff) |
Diffstat (limited to 'modules/timeModule.go')
-rw-r--r-- | modules/timeModule.go | 10 |
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 +} |