Documentation ¶
Index ¶
Constants ¶
View Source
const FuncDefine = `
func (this *Test{{.SingleStruct}}Suite) {{.TestFuncName}}() {
logrus.Info(1)
}
`
Variables ¶
This section is empty.
Functions ¶
func InjectSuiteFactroy ¶
func InjectSuiteFactroy(s *SuiteFactroy)
func InjectSuiteMethod ¶
func InjectSuiteMethod(s *SuiteMethod)
func LoadSuiteFactroy ¶
func LoadSuiteFactroy() baseiface.ISingleton
func LoadSuiteMethod ¶
func LoadSuiteMethod() baseiface.ISingleton
Types ¶
type SuiteFactroy ¶
type SuiteFactroy struct { basedto.BaseEntity *codefactroy.CodeFactroy }
func FindBeanSuiteFactroy ¶
func FindBeanSuiteFactroy() *SuiteFactroy
func NewSuiteFactroy ¶
func NewSuiteFactroy() *SuiteFactroy
func (*SuiteFactroy) MakeSuiteOne ¶
func (this *SuiteFactroy) MakeSuiteOne(structInfo *didto.StructInfo) bool
func (*SuiteFactroy) MakeToParam ¶
func (self *SuiteFactroy) MakeToParam()
func (*SuiteFactroy) StructFileName ¶
func (cf *SuiteFactroy) StructFileName() string
func (*SuiteFactroy) WriteStructFile ¶
func (self *SuiteFactroy) WriteStructFile() error
type SuiteMethod ¶
type SuiteMethod struct { basedto.BaseEntity Methods *gmap.StrStrMap }
func FindBeanSuiteMethod ¶
func FindBeanSuiteMethod() *SuiteMethod
func NewSuiteMethod ¶
func NewSuiteMethod() *SuiteMethod
func (*SuiteMethod) BuildMethod ¶
func (this *SuiteMethod) BuildMethod(i int, m string, stru string)
func (*SuiteMethod) Encode ¶
func (this *SuiteMethod) Encode() string
Click to show internal directories.
Click to hide internal directories.