]> git.lizzy.rs Git - mt.git/blobdiff - light.go
Add String methods to some types using stringer and fix some minor defects
[mt.git] / light.go
index b086591e8e32233f78c1ca12797db214fef33b16..30d2a5833351268cb436695f9694719e3b8412f1 100644 (file)
--- a/light.go
+++ b/light.go
@@ -11,3 +11,5 @@ const (
        Day LightBank = iota
        Night
 )
+
+//go:generate stringer -type LightBank