MCPcopy
hub / github.com/kubernetes/code-generator / ProtobufFromGoNamer

Interface ProtobufFromGoNamer

cmd/go-to-protobuf/protobuf/generator.go:197–199  ·  view source on GitHub ↗

ProtobufFromGoNamer finds the protobuf name of a type (and its package, and the package path) from its Go name.

Source from the content-addressed store, hash-verified

195// ProtobufFromGoNamer finds the protobuf name of a type (and its package, and
196// the package path) from its Go name.
197type ProtobufFromGoNamer interface {
198 GoNameToProtoName(name types.Name) types.Name
199}
200
201type ProtobufLocator interface {
202 ProtoTypeFor(t *types.Type) (*types.Type, error)

Callers 1

ProtoTypeForMethod · 0.65

Implementers 1

protobufNamercmd/go-to-protobuf/protobuf/namer.go

Calls

no outgoing calls

Tested by

no test coverage detected