Move OnOff into router.go

This commit is contained in:
David Wragg committed 2015-08-03 14:06:23 +01:00
1 parent ca89cfee3d
commit 7d6f85424c
2 files changed
+9 -9

No files matched your search

-7
View File
@@ -6,10 +6,3 @@ func Assert(test bool) {
panic("Assertion failure")
}
}
func OnOff(b bool) string {
if b {
return "on"
}
return "off"
}