Versions in this module Expand all Collapse all v1 v1.0.1 Jan 7, 2023 Changes in this version + var DefaultMockAnnot = "@mock" + type GoMock struct + Layout typgen.Layouts + Walker typgen.Walker + func (d *GoMock) Task() *typgo.Task + func (g *GoMock) AnnotationName() string + func (g *GoMock) Execute(c *typgo.Context) error + func (g *GoMock) IsAllowed(d *typgen.Annotation) bool + func (g *GoMock) ProcessAnnot(c *typgen.Context, annot *typgen.Annotation) error + type Mock struct + Destination string + DestinationPackage string + Package string + Source string + func CreateMock(d *typgen.Annotation) *Mock + func (m *Mock) Generate(c *typgo.Context) error