fathom/api/api.go

13 lines
125 B
Go
Raw Normal View History

package api
import (
2016-11-21 16:36:25 +00:00
"log"
)
2016-11-21 16:36:25 +00:00
// log fatal errors
func checkError(err error) {
if err != nil {
log.Fatal(err)
}
}