Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultGoSourceTemplate = `` /* 416-byte string literal not displayed */
DefaultGoSourceTemplate ...
View Source
const DefaultGoTestTemplate = `` /* 535-byte string literal not displayed */
DefaultGoTestTemplate ...
View Source
const DefaultPlantUMLTemplate = `` /* 815-byte string literal not displayed */
DefaultPlantUMLTemplate ...
Variables ¶
View Source
var DefaultClient = NewDefaultClient()
DefaultClient ...
View Source
var DefaultEngine = NewDefaultEngine()
DefaultEngine ...
View Source
var DefaultManager = NewDefaultManager()
DefaultManager ...
View Source
var DefaultResourceAccess = NewDefaultResourceAccess()
DefaultResourceAccess ...
Functions ¶
This section is empty.
Types ¶
type DeveloperClient ¶ added in v0.2.3
type DeveloperClient interface { Error() (err error) Generate() WithManager(m GeneratorManager) DeveloperClient }
DeveloperClient ...
type GeneratorManager ¶ added in v0.2.3
type GeneratorManager interface { Error() (err error) GenerateMultipleGoSources(in string) (out map[string]string) GenerateMultipleGoTests(in string) (out map[string]string) GenerateMultiplePlantUML(in string) (out map[string]string) GenerateSingleGoSource(in string) (out string) GenerateSingleGoTest(in string) (out string) GenerateSinglePlantUML(in string) (out string) WithEngine(e TemplateEngine) (m GeneratorManager) WithResourceAccess(ra GoResourceAccess) (m GeneratorManager) }
GeneratorManager ...
type GoResourceAccess ¶ added in v0.2.3
type GoResourceAccess interface { Error() (err error) GenerateMultiFiles(in *Source, tmpl string) (out map[string]string) GenerateSingleFile(in *Source, tmpl string) (out string) }
GoResourceAccess ...
func NewDefaultResourceAccess ¶
func NewDefaultResourceAccess() GoResourceAccess
NewDefaultResourceAccess ...
type TemplateEngine ¶ added in v0.2.3
TemplateEngine ...
Click to show internal directories.
Click to hide internal directories.