MCPcopy
hub / github.com/golang/protobuf / Fail

Method Fail

protoc-gen-go/generator/generator.go:439–443  ·  view source on GitHub ↗

Fail reports a problem and exits the program.

(msgs ...string)

Source from the content-addressed store, hash-verified

437
438// Fail reports a problem and exits the program.
439func (g *Generator) Fail(msgs ...string) {
440 s := strings.Join(msgs, " ")
441 log.Print("protoc-gen-go: error:", s)
442 os.Exit(1)
443}
444
445// CommandLineParameters breaks the comma-separated list of key=value pairs
446// in the parameter (a member of the request protobuf) into a key/value map.

Callers 13

CommandLineParametersMethod · 0.95
SetPackageNamesMethod · 0.95
WrapTypesMethod · 0.95
buildNestedEnumsMethod · 0.95
ObjectNamedMethod · 0.95
printAtomMethod · 0.95
PMethod · 0.95
generateMethod · 0.95
generateImportedMethod · 0.95
goTagMethod · 0.95
GoTypeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected