Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseModel ¶
type DatabaseModel struct { Tables []Table `xml:"Tables>Table"` References []Reference `xml:"References>Reference"` }
func Parse ¶
func Parse(input []byte) (model *DatabaseModel, error error)
type GormDatabase ¶
FIXME add other nodess Annotation string
type PrimaryKey ¶
type Processor ¶
type Processor struct { Package string TypeMapper TypeMapper }
func NewProcessor ¶
func NewProcessor() *Processor
type ReferenceColumn ¶
type Table ¶
type Table struct { ID string `xml:"Id,attr"` Name string `xml:"Name"` Columns []Column `xml:"Columns>Column"` PrimaryKey PrimaryKey `xml:"PrimaryKey"` }
type TypeMapper ¶
Click to show internal directories.
Click to hide internal directories.