2020-11-04 16:14:18 +00:00
|
|
|
package main
|
|
|
|
|
2021-01-30 09:53:34 +00:00
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
)
|
2020-11-04 16:14:18 +00:00
|
|
|
|
|
|
|
func Err(e error) {
|
|
|
|
if e != nil {
|
|
|
|
panic(e)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func Debug(s string, p ...interface{}) {
|
|
|
|
log.Printf("DEBUG: "+s, p...)
|
|
|
|
}
|
|
|
|
|
|
|
|
func Log(s string, p ...interface{}) {
|
|
|
|
log.Printf("LOG: "+s, p...)
|
|
|
|
}
|