schema and template functions

This commit is contained in:
ycc
2021-12-03 11:19:53 +01:00
parent f406c17ea9
commit dee183ae76
7 changed files with 299 additions and 17 deletions

14
plantuml.tmpl Normal file
View File

@@ -0,0 +1,14 @@
@startuml
{{range .Tbl}}
entity {{.Name}} {
{{range $key, $value := .Columns}} {{$key}} : {{$value}}
{{end}}}
{{end}}
{{range .Lnk}}
{{.Source}} ||..|| {{.Destination}}
{{end}}
@enduml