Versions in this module Expand all Collapse all v0 v0.9.1 Dec 1, 2022 Changes in this version + type FieldInfo struct + IsInterface bool + PackageName string + TypeName string + UpperCamelCaseTypeName string + type IFDepMethod interface + GetPosition func() token.Pos + type MockMethod struct + ArgLen int + Field string + Name string + Position token.Pos + ReturnLen int + func (m *MockMethod) GetPosition() token.Pos + type TargetMethod struct + Name string + Position token.Pos + func (m *TargetMethod) GetPosition() token.Pos + type TemplateMockMethod struct + Arg string + Name string + Position int + Return string + type TemplateParams struct + FieldMap map[string]*FieldInfo + TargetMethodTesCasesMap map[string][]*UpdateTestCase + func CreateTemplateParams(t *TestFile) *TemplateParams + func (t *TemplateParams) ToJson() ([]byte, error) + type TestCase struct + IsSuccessPattern bool + Line int + type TestFile struct + FieldMap map[string]*FieldInfo + TargetMethodTesCasesMap map[string][]*TestCase + func GetAnalysisResult(astF *ast.File, fset *token.FileSet, packageTypes *types.Package) (*TestFile, error) + type UpdateTestCase struct + DepMethodsInField map[string][]*TemplateMockMethod + IsSuccessPattern bool + Line int