Move OnOff into router.go
This commit is contained in:
1 parent
ca89cfee3d
commit
7d6f85424c
2 files changed
+9
-9
No files matched your search
@@ -6,10 +6,3 @@ func Assert(test bool) {
|
||||
panic("Assertion failure")
|
||||
}
|
||||
}
|
||||
|
||||
func OnOff(b bool) string {
|
||||
if b {
|
||||
return "on"
|
||||
}
|
||||
return "off"
|
||||
}
|
||||
Reference in new issue
Block a user