Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 253 Bytes
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)
}
}
You can’t perform that action at this time.