Versions in this module Expand all Collapse all v1 v1.0.0 Sep 29, 2018 Changes in this version + func Generate(env environ.Values, cfg *Config) error + func Preview(env environ.Values, cfg *Config, format PreviewFormat) error + type Config struct + Driver database.Driver + EnumPaths []OutputTarget + NameConversion *template.Template + Params map[string]interface{} + SchemaPaths []OutputTarget + TablePaths []OutputTarget + TemplateEngine struct{ ... } + type OutputTarget struct + Contents *template.Template + ContentsPath string + Filename *template.Template + type PreviewFormat int + const PreviewJSON + const PreviewTabular + const PreviewTypes + const PreviewYAML