Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator generates Go code from database schema
func New ¶
func New(schema *introspect.Schema, outputDir, packageName string) *Generator
New creates a new Generator
func NewWithConfig ¶
func NewWithConfig(schema *introspect.Schema, cfg *config.Config) *Generator
NewWithConfig creates a new Generator with configuration
Click to show internal directories.
Click to hide internal directories.