MCPcopy
hub / github.com/gin-gonic/gin / assert1

Function assert1

utils.go:85–89  ·  view source on GitHub ↗
(guard bool, text string)

Source from the content-addressed store, hash-verified

83}
84
85func assert1(guard bool, text string) {
86 if !guard {
87 panic(text)
88 }
89}
90
91func filterFlags(content string) string {
92 for i, char := range content {

Callers 4

processAccountsFunction · 0.85
addRouteMethod · 0.85
combineHandlersMethod · 0.85
NegotiateFormatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected