Documentation
¶
Index ¶
- func BasePath(path string) core.OptionFunc
- func Defaults(_ context.Context, gen *core.Generator) error
- func ImportPath(path string) (string, error)
- func New() *core.Generator
- func ResolvePaths(_ context.Context, gen *core.Generator) error
- func Run(ctx context.Context, opts ...core.OptionFunc) error
- type Output
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasePath ¶
func BasePath(path string) core.OptionFunc
func ImportPath ¶
Types ¶
type Output ¶
type Output struct { Roles io.ReadWriter Permissions io.ReadWriter }
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
func (ValidationError) Error ¶
func (err ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.