MCPcopy
hub / github.com/astaxie/build-web-application-with-golang / checkErr

Function checkErr

en/code/src/apps/ch.5.2/main.go:72–76  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

70}
71
72func checkErr(err error) {
73 if err != nil {
74 panic(err)
75 }
76}

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected