summaryrefslogtreecommitdiff
path: root/light.go
diff options
context:
space:
mode:
authoranon5 <anon5clam@protonmail.com>2021-06-22 16:30:50 +0000
committeranon5 <anon5clam@protonmail.com>2021-06-22 16:30:50 +0000
commitf967a747e4ae01fba3a6c3fd693d0e753faf3ae4 (patch)
tree22d628df079bb5cac93cc2338cfbe585ff8a2763 /light.go
parent425da65ed46061303604610bb539d6495b2b1f3f (diff)
Add String methods to some types using stringer and fix some minor defects
Diffstat (limited to 'light.go')
-rw-r--r--light.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/light.go b/light.go
index b086591..30d2a58 100644
--- a/light.go
+++ b/light.go
@@ -11,3 +11,5 @@ const (
Day LightBank = iota
Night
)
+
+//go:generate stringer -type LightBank