Documentation ¶
Overview ¶
Package mkrun contains some helpers for generation scripts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { PackageName string Data interface{} }
Config is generation config.
type Generator ¶
type Generator interface { // Name is generator name. Name() string // Flags sets generator flags. Flags(set *flag.FlagSet) // Template returns generation template. Template() string // Data returns associated generation data. Data() (interface{}, error) }
Generator represents generator script.
Click to show internal directories.
Click to hide internal directories.