svalue/base.go

19 lines
190 B
Go
Raw Permalink Normal View History

2019-01-23 19:18:17 +00:00
package svalue
import "log"
func must(err error) {
if err != nil {
panic(err)
}
}
func mustlog(err error) bool {
if err != nil {
log.Fatalln(err)
return false
}
return true
}