MCPcopy
hub / github.com/grpc-ecosystem/grpc-gateway / SetOmitPackageDoc

Method SetOmitPackageDoc

internal/descriptor/registry.go:734–736  ·  view source on GitHub ↗

SetOmitPackageDoc controls whether the generated code contains a package comment (if set to false, it will contain one)

(omit bool)

Source from the content-addressed store, hash-verified

732
733// SetOmitPackageDoc controls whether the generated code contains a package comment (if set to false, it will contain one)
734func (r *Registry) SetOmitPackageDoc(omit bool) {
735 r.omitPackageDoc = omit
736}
737
738// GetOmitPackageDoc returns whether a package comment will be omitted from the generated code
739func (r *Registry) GetOmitPackageDoc() bool {

Callers 1

applyFlagsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected