Documentation
¶
Index ¶
- Constants
- type Relationship
- type Relationships
- func (rels Relationships) AddToDiagram(d *er.Diagram) *er.Diagram
- func (rels Relationships) DiagramString() string
- func (rels Relationships) MarkdownString(title string) (string, error)
- func (rels Relationships) WriteFileHTML(filename, htmlTitle, diagramTitle string, perm os.FileMode) error
- func (rels Relationships) WriteFileMarkdown(filename, title string, perm os.FileMode) error
Constants ¶
View Source
const ( TypeBool = "bool" TypeDate = "date" TypeDecimal = "decimal" TypeInt = "int" TypeString = "string" TypeTimestamp = "timestamp" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Relationship ¶
type Relationships ¶
type Relationships []Relationship
func (Relationships) AddToDiagram ¶
func (rels Relationships) AddToDiagram(d *er.Diagram) *er.Diagram
func (Relationships) DiagramString ¶
func (rels Relationships) DiagramString() string
func (Relationships) MarkdownString ¶
func (rels Relationships) MarkdownString(title string) (string, error)
func (Relationships) WriteFileHTML ¶
func (rels Relationships) WriteFileHTML(filename, htmlTitle, diagramTitle string, perm os.FileMode) error
func (Relationships) WriteFileMarkdown ¶
func (rels Relationships) WriteFileMarkdown(filename, title string, perm os.FileMode) error
Click to show internal directories.
Click to hide internal directories.