Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PathsSourceRelative bool
Functions ¶
func CamelCase ¶
CamelCase returns the CamelCased name. If there is an interior underscore followed by a lower case letter, drop the underscore and convert the letter to upper case. There is a remote possibility of this rewrite causing a name collision, but it's so remote we're prepared to pretend it's nonexistent - since the C++ generator lowercases names, it's extremely unlikely to have two fields with different capitalizations. In short, _my_field_name_2 becomes XMyFieldName_2.
func CamelCaseSlice ¶
CamelCaseSlice is like CamelCase, but the argument is a slice of strings to be joined with "_".
Types ¶
type GoImportPath ¶
type GoImportPath string
A GoImportPath is the import path of a Go package. e.g., "google.golang.org/genproto/protobuf".
func (GoImportPath) String ¶
func (p GoImportPath) String() string
type GoPackageName ¶
type GoPackageName string
type Method ¶
type Method struct { *descriptor.MethodDescriptorProto // contains filtered or unexported fields }
func (*Method) GetInputType ¶
func (*Method) GetOutputType ¶
Click to show internal directories.
Click to hide internal directories.