Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelCase ¶
CamelCase copy from protobuf, for more information, please see github.com/golang/protobuf@v1.4.2/protoc-gen-go/generator/generator.go:2648
func GetComment ¶
GetComment returns content with prefix //
func GoSanitized ¶
GoSanitized copy from protobuf, for more information, please see google.golang.org/protobuf@v1.25.0/internal/strs/strings.go:71
Types ¶
type DefaultProtoParser ¶
type DefaultProtoParser struct{}
DefaultProtoParser types an empty struct
func NewDefaultProtoParser ¶
func NewDefaultProtoParser() *DefaultProtoParser
NewDefaultProtoParser creates a new instance
type Proto ¶
type Proto struct { Src string Name string Package Package PbPackage string GoPackage string Import []Import Message []Message Service Services }
Proto describes a proto file,
Click to show internal directories.
Click to hide internal directories.