MCPcopy Index your code
hub / github.com/codingo/bbr / checkError

Function checkError

bbr.go:155–159  ·  view source on GitHub ↗

checkError if error is not nil and exiting if error found

(err error)

Source from the content-addressed store, hash-verified

153
154// checkError if error is not nil and exiting if error found
155func checkError(err error) {
156 if err != nil {
157 log.Fatal(err)
158 }
159}
160
161// Starting point of the program
162func main() {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected