Documentation ¶
Index ¶
- func GetFuncDecls(packageName, directory string) ([]*ast.FuncDecl, error)
- func GetFunctionsFromDirectory(packageName, directory string) (*model.PackageToInterfacify, error)
- func GetInterfaceFromFilePath(interfaceName, filePath string) (*model.InterfaceToFake, error)
- func GetInterfaceFromImportPath(interfaceName, importPath string, vendorPaths ...string) (*model.InterfaceToFake, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFunctionsFromDirectory ¶
func GetFunctionsFromDirectory(packageName, directory string) (*model.PackageToInterfacify, error)
func GetInterfaceFromFilePath ¶
func GetInterfaceFromFilePath(interfaceName, filePath string) (*model.InterfaceToFake, error)
func GetInterfaceFromImportPath ¶
func GetInterfaceFromImportPath(interfaceName, importPath string, vendorPaths ...string) (*model.InterfaceToFake, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.