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

Method Generate

internal/generator/generator.go:11–11  ·  view source on GitHub ↗

Generate generates output files from input .proto files.

(targets []*descriptor.File)

Source from the content-addressed store, hash-verified

9type Generator interface {
10 // Generate generates output files from input .proto files.
11 Generate(targets []*descriptor.File) ([]*descriptor.ResponseFile, error)
12}

Callers 6

mainFunction · 0.65
requireGenerateFunction · 0.65
TestGenerateXGoTypeFunction · 0.65
mainFunction · 0.65
testGeneratorGenerateFunction · 0.65

Implementers 2

generatorprotoc-gen-openapiv2/internal/genopena
generatorprotoc-gen-grpc-gateway/internal/genga

Calls

no outgoing calls

Tested by 4

requireGenerateFunction · 0.52
TestGenerateXGoTypeFunction · 0.52
testGeneratorGenerateFunction · 0.52