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

Method SetUseGoTemplate

internal/descriptor/registry.go:628–630  ·  view source on GitHub ↗

SetUseGoTemplate sets useGoTemplate

(use bool)

Source from the content-addressed store, hash-verified

626
627// SetUseGoTemplate sets useGoTemplate
628func (r *Registry) SetUseGoTemplate(use bool) {
629 r.useGoTemplate = use
630}
631
632// GetUseGoTemplate returns useGoTemplate
633func (r *Registry) GetUseGoTemplate() bool {

Callers 4

mainFunction · 0.95
TestTagsWithGoTemplateFunction · 0.95

Calls

no outgoing calls

Tested by 3

TestTagsWithGoTemplateFunction · 0.76