MCPcopy
hub / github.com/hwholiday/learning_tools / Fail

Method Fail

grpc/protoc-gen-hw/generator/generator.go:417–421  ·  view source on GitHub ↗

Fail reports a problem and exits the program.

(msgs ...string)

Source from the content-addressed store, hash-verified

415
416// Fail reports a problem and exits the program.
417func (g *Generator) Fail(msgs ...string) {
418 s := strings.Join(msgs, " ")
419 log.Print("protoc-gen-hw: error:", s)
420 os.Exit(1)
421}
422
423// CommandLineParameters breaks the comma-separated list of key=value pairs
424// 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
generateMethod · 0.95
generateImportedMethod · 0.95
goTagMethod · 0.95
GoTypeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected