Documentation
¶
Index ¶
- func ExistedMethodForInterface(list *ast.FieldList, methodName string) bool
- func ExistedMethodForStruct(decls []ast.Decl, method string, receiverType string) bool
- func FileInsertContent(fileName string, line int, content string)
- func GetIdent(i string) ast.Expr
- func WriteFile(fileName string, writers []Writer)
- func WriteFileForLine(fileName string, writers []Writer)
- type WriteFunc
- type Writer
- func GetFuncWriter(receiverName string, receiverType string, funcName string, paramNames []string, ...) Writer
- func GetImportWriter(alia string, importValue string) Writer
- func GetInterfaceWrite(interfaceName string, funcName string, paramNames []string, ...) Writer
- func GetInterfaceWrite2(fileName string, interfaceName string, method string) Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistedMethodForStruct ¶
func FileInsertContent ¶
func WriteFileForLine ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.