Documentation ¶
Index ¶
- Constants
- type Generator
- func (g *Generator) GenFile(tmplParentPath, targetParentPath string, dir fs.DirEntry, tmpl embed.FS) (err error)
- func (g *Generator) GenProject(tmpl embed.FS) (err error)
- func (g *Generator) IsDirEmpty() (bool, error)
- func (g *Generator) ParseFile(tmplPath, targetPath string, tmpl embed.FS) (err error)
- type Parameter
Constants ¶
View Source
const ( StyleDDD = "ddd" StyleMVC = "mvc" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func (*Generator) IsDirEmpty ¶
Click to show internal directories.
Click to hide internal directories.