From 3b25b5bc0254c7462555c9911c67266627428795 Mon Sep 17 00:00:00 2001 From: Jackson Taylor Date: Fri, 2 Oct 2020 23:10:52 -0400 Subject: Create modules package --- modules/timeModule.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 modules/timeModule.go (limited to 'modules/timeModule.go') 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 +} -- cgit v1.2.3