|
|
|
@@ -325,6 +325,8 @@ func NewFuncMap() []template.FuncMap { |
|
|
|
"DatasetPathJoin": func(arr []string, index int, seq string) string { |
|
|
|
return strings.Join(arr[1:index+1], seq) |
|
|
|
}, |
|
|
|
"GetRefType": GetRefType, |
|
|
|
"GetRefName": GetRefName, |
|
|
|
}} |
|
|
|
} |
|
|
|
|
|
|
|
@@ -435,8 +437,6 @@ func NewTextFuncMap() []texttmpl.FuncMap { |
|
|
|
} |
|
|
|
return float32(n) * 100 / float32(sum) |
|
|
|
}, |
|
|
|
"GetRefType": GetRefType, |
|
|
|
"GetRefName": GetRefName, |
|
|
|
}} |
|
|
|
} |
|
|
|
|
|
|
|
|