Documentation ¶
Index ¶
- func FilterFunction(f *gen.Function) bool
- func FilterFunctionParameter(p gen.FunctionParameter) bool
- func FilterStructFieldGetter(f *gen.StructField) bool
- func FixFunctionName(f *gen.Function) string
- func PrepareFunction(f *gen.Function)
- func PrepareFunctionName(g *gen.Generation, f *gen.Function) string
- func PrepareStructFields(s *gen.Struct)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterFunction ¶
FilterFunction reports whether the f function filtered to a particular condition.
func FilterFunctionParameter ¶
func FilterFunctionParameter(p gen.FunctionParameter) bool
FilterFunctionParameter reports whether the p function parameter filtered to a particular condition.
func FilterStructFieldGetter ¶
func FilterStructFieldGetter(f *gen.StructField) bool
FilterStructFieldGetter reports whether the m struct field filtered to a particular condition.
func FixFunctionName ¶
FixFunctionName fixes the function name under certain conditions.
func PrepareFunction ¶
PrepareFunction prepares C function to Go function.
func PrepareFunctionName ¶
func PrepareFunctionName(g *gen.Generation, f *gen.Function) string
PrepareFunctionName prepares C function naming to Go function name.
func PrepareStructFields ¶
PrepareStructFields prepares struct fields names.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.