Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ifacer ¶
type Ifacer struct {
IfaceName string
StructName string
IfacePath string
PackageName string
Methods []Method
// implements interface context
Content string
Star string
OutFile string
UsingImportStr string
// contains filtered or unexported fields
}
func (*Ifacer) GenMethods ¶
func (*Ifacer) ManageNoConflictImport ¶
type Option ¶ added in v0.0.7
type Option func(*Ifacer)
func WithIfacerLogger ¶ added in v0.0.7
func WithIfacerTpl ¶ added in v0.0.7
func WithIfacerWriter ¶ added in v0.0.7
func WithIfacerWriter(writer filedir.IfaceWriter) Option
Click to show internal directories.
Click to hide internal directories.