Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateConfig ¶
Types ¶
type FromJSON ¶
type FromJSON []byte
func (FromJSON) Apply ¶
func (o FromJSON) Apply(options *GenerateOptions)
type FromTOML ¶
type FromTOML []byte
func (FromTOML) Apply ¶
func (o FromTOML) Apply(options *GenerateOptions)
type FromYAML ¶
type FromYAML []byte
func (FromYAML) Apply ¶
func (o FromYAML) Apply(options *GenerateOptions)
type GenerateOption ¶
type GenerateOption interface {
Apply(*GenerateOptions)
}
func ToJSON ¶
func ToJSON() GenerateOption
func ToTOML ¶
func ToTOML() GenerateOption
func ToYAML ¶
func ToYAML() GenerateOption
func WithGenerator ¶
func WithGenerator(id string, generator Generator) GenerateOption
func WithValue ¶
func WithValue(id string, value interface{}) GenerateOption
type GenerateOptions ¶
Click to show internal directories.
Click to hide internal directories.