MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / errExit

Function errExit

cmd/oapi-codegen/oapi-codegen.go:33–39  ·  view source on GitHub ↗
(format string, args ...any)

Source from the content-addressed store, hash-verified

31)
32
33func errExit(format string, args ...any) {
34 if !strings.HasSuffix(format, "\n") {
35 format = format + "\n"
36 }
37 _, _ = fmt.Fprintf(os.Stderr, format, args...)
38 os.Exit(1)
39}
40
41var (
42 flagOutputFile string

Callers 2

mainFunction · 0.85
updateOldConfigFromFlagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected