Documentation ¶
Index ¶
- func GenInterface(interfaceSuffix string, c plugin.CodeWriter, ...)
- func GenProxyStruct(proxySuffix string, c plugin.CodeWriter, ...)
- func MatchFunctionByStructName(functionSignature, structName string) (string, bool)
- func ToFirstCharLower(input string) string
- func ToFirstCharUpper(s string) string
- type Method
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenInterface ¶
func GenProxyStruct ¶
func ToFirstCharLower ¶
func ToFirstCharUpper ¶
Types ¶
type Method ¶
type Method struct { Name string Body string // like '(name, param *substruct.Param) (string, error)' ParamBody string // like 'name, param *substruct.Param' // contains filtered or unexported fields }
func ParseExportedMethodInfoFromGoFiles ¶
ParseExportedMethodInfoFromGoFiles parse all Upper case methods,
func (*Method) GetImportAlias ¶
func (*Method) GetParamValues ¶
func (*Method) ReturnValueNum ¶
func (*Method) SwapAliasMap ¶
Click to show internal directories.
Click to hide internal directories.