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

Interface Generator

internal/generator/generator.go:9–12  ·  internal/generator/generator.go::Generator

Generator is an abstraction of code generators.

Source from the content-addressed store, hash-verified

7
8// Generator is an abstraction of code generators.
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

no test coverage detected