Documentation
¶
Index ¶
- func GeneratedFilename(prefix, name string) string
- func Title(s string) string
- func WriteFile(o WriteFileOption) error
- type Builder
- func (b Builder) Apply() Cmd
- func (b Builder) WithDescription(description string) Builder
- func (b Builder) WithGenerator(key string, generator genall.Generator) Builder
- func (b Builder) WithGenerators(generators map[string]genall.Generator) Builder
- func (b Builder) WithHelper(helper string) Builder
- func (b Builder) WithOutputRule(key string, outputRule genall.OutputRule) Builder
- func (b Builder) WithOutputRules(outputRules map[string]genall.OutputRule) Builder
- type Cmd
- type WriteFileOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratedFilename ¶
func WriteFile ¶
func WriteFile(o WriteFileOption) error
Types ¶
type Builder ¶
type Builder func() Cmd
func (Builder) WithDescription ¶
func (Builder) WithGenerator ¶
func (Builder) WithGenerators ¶
func (Builder) WithHelper ¶
func (Builder) WithOutputRule ¶
func (b Builder) WithOutputRule(key string, outputRule genall.OutputRule) Builder
func (Builder) WithOutputRules ¶
func (b Builder) WithOutputRules(outputRules map[string]genall.OutputRule) Builder
Click to show internal directories.
Click to hide internal directories.