Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeGenerator ¶
type CodeGenerator struct { Model model.InterfaceToFake StructName string PackageName string // contains filtered or unexported fields }
func (CodeGenerator) GenerateFake ¶
func (gen CodeGenerator) GenerateFake() (string, error)
type InterfaceGenerator ¶
type InterfaceGenerator struct { Model *model.PackageToInterfacify Package string DestinationInterface string DestinationPackageName string }
func (InterfaceGenerator) GenerateInterface ¶
func (ig InterfaceGenerator) GenerateInterface() (string, error)
type ShimGenerator ¶
type ShimGenerator struct { Model model.InterfaceToFake StructName string PackageName string SourcePackage string // contains filtered or unexported fields }
func (ShimGenerator) GenerateReal ¶
func (gen ShimGenerator) GenerateReal() (string, error)
Click to show internal directories.
Click to hide internal directories.