Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
rade committed Jul 15, 2015
1 parent 3629221 commit 97498d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
20 changes: 0 additions & 20 deletions common/errors.go

This file was deleted.

7 changes: 7 additions & 0 deletions common/utils.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
package common

// Assert test is true, panic otherwise
func Assert(test bool) {
if !test {
panic("Assertion failure")
}
}

func OnOff(b bool) string {
if b {
return "on"
Expand Down

0 comments on commit 97498d2

Please sign in to comment.