Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
package zkledger
import (
"flag"
"fmt"
)
var DEBUG = flag.Bool("debug", false, "Debug output")
func Dprintf(format string, args ...interface{}) {
if *DEBUG {
fmt.Printf(format, args...)
}
}
func check(e error) {
if e != nil {
panic(e)
}
}