schema and template functions
This commit is contained in:
14
plantuml.tmpl
Normal file
14
plantuml.tmpl
Normal file
@@ -0,0 +1,14 @@
|
||||
@startuml
|
||||
|
||||
{{range .Tbl}}
|
||||
entity {{.Name}} {
|
||||
{{range $key, $value := .Columns}} {{$key}} : {{$value}}
|
||||
{{end}}}
|
||||
{{end}}
|
||||
|
||||
{{range .Lnk}}
|
||||
{{.Source}} ||..|| {{.Destination}}
|
||||
{{end}}
|
||||
|
||||
@enduml
|
||||
|
||||
Reference in New Issue
Block a user