File tree 3 files changed +1645
-1554
lines changed
docs/architecture/diagrams
3 files changed +1645
-1554
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,16 @@ package pkg {
5
5
package common {
6
6
package configuration {
7
7
package parser {
8
+ stereotype EscapedString <<string >> {
9
+ ~ escapeString (value : string) : string
10
+ + UnmarshalXML (decoder : *xml . Decoder , start : xml.StartElement) : error
11
+ }
8
12
stereotype KeyValue <<map [string ]string >> {
9
13
+ UnmarshalXML (decoder : *xml . Decoder , _ : xml.StartElement) : error
10
14
+ MarshalXML (encoder : *xml . Encoder , start : xml.StartElement) : error
11
15
}
12
16
struct TemplateConfiguration {
13
- + StringValue : string
17
+ + StringValue : EscapedString
14
18
+ MapValue : KeyValue
15
19
}
16
20
struct FormatterConfiguration {
@@ -43,6 +47,7 @@ package pkg {
43
47
+ ReadFromYAML(path : string) : (*Configuration, error)
44
48
+ ReadFromXML(path : string) : (*Configuration, error)
45
49
}
50
+ TemplateConfiguration "1" *-- "1 " EscapedString : contains
46
51
TemplateConfiguration "1" *-- "1 " KeyValue : contains
47
52
FormatterConfiguration "1" *-- "1 " TemplateConfiguration : contains
48
53
HandlerConfiguration "1" *-- "1 " FormatterConfiguration : contains
You can’t perform that action at this time.
0 commit comments