1
1
2
2
3
3
{{- $g := . -}}
4
- {{- $_ := set $g "ctx" dict -}}
5
-
6
- {{ $_ := set $g.ctx "typeMap" (dict "flaglist" "String" "info_array" "interface{}" "subplotid" "String" "data_array" "interface{}" "any" "interface{}" "angle" "float64" "color" "String" "number" "float64" "string" "String" "integer" "int64" "boolean" "Bool") }}
7
4
8
5
Generating Go Plotly schema
9
6
SHA {{ .sha1 }}
@@ -13,7 +10,7 @@ SHA {{ .sha1 }}
13
10
Something went wrong rendering plotly.go {{ $err }}
14
11
{{ end }}
15
12
16
- {{ $tracesInput := (dict "traces" $g.schema.traces "ctx" $g.ctx ) }}
13
+ {{ $tracesInput := (dict "traces" $g.schema.traces ) }}
17
14
{{- $err := file "auto_traces.go" "traces" $tracesInput -}}
18
15
{{ if $err }}
19
16
Something went wrong rendering traces.go {{ $err }}
@@ -24,7 +21,7 @@ Objects in traces
24
21
{{ $name }}
25
22
{{- end }}
26
23
27
- {{ $layoutInput := (dict "layout" $g.schema.layout "extra" $tracesInput.layoutAttributes "ctx" $g.ctx ) }}
24
+ {{ $layoutInput := (dict "layout" $g.schema.layout "extra" $tracesInput.layoutAttributes ) }}
28
25
{{- $err := file "auto_layout.go" "layout" $layoutInput -}}
29
26
{{ if $err }}
30
27
Something went wrong rendering layout.go {{ $err }}
@@ -34,27 +31,27 @@ Objects in layout
34
31
{{ $name }}
35
32
{{- end }}
36
33
37
- {{- $configInput := (dict "config" $g.schema.config "ctx" $g.ctx ) }}
34
+ {{- $configInput := (dict "config" $g.schema.config ) }}
38
35
{{- $err := file "auto_config.go" "config" $configInput -}}
39
36
{{ if $err }}
40
37
Something went wrong rendering config.go {{ $err }}
41
38
{{ end }}
42
39
43
40
Rendering objects.go
44
- {{ $objectsInput := (dict "objects" (merge $tracesInput.objects $layoutInput.objects $configInput.objects) "deep" 0 "ctx" $g.ctx ) }}
41
+ {{ $objectsInput := (dict "objects" (merge $tracesInput.objects $layoutInput.objects $configInput.objects) "deep" 0 ) }}
45
42
{{- $err := file "auto_objects.go" "objects_recursive" $objectsInput -}}
46
43
{{- if $err }}
47
44
Something went wrong rendering objects.go {{ $err }}
48
45
{{- end -}}
49
46
50
47
Rendering enumerates.go
51
- {{ $enumeratesInput := (dict "enumerates" (merge $tracesInput.enumerates $layoutInput.enumerates $objectsInput.enumerates $configInput.enumerates ) "ctx" $g.ctx ) }}
48
+ {{ $enumeratesInput := (dict "enumerates" (merge $tracesInput.enumerates $layoutInput.enumerates $objectsInput.enumerates $configInput.enumerates ) ) }}
52
49
{{- $err := file "auto_enumerates.go" "enumerates" $enumeratesInput -}}
53
50
{{- if $err }}
54
51
Something went wrong rendering enumerates.go {{ $err }}
55
52
{{- end }}
56
53
57
- {{- $flaglistsInput := (dict "flaglists" (merge $tracesInput.flaglists $layoutInput.flaglists $objectsInput.flaglists $configInput.flaglists ) "ctx" $g.ctx ) }}
54
+ {{- $flaglistsInput := (dict "flaglists" (merge $tracesInput.flaglists $layoutInput.flaglists $objectsInput.flaglists $configInput.flaglists ) ) }}
58
55
{{- $err := file "auto_flaglists.go" "flaglists" $flaglistsInput -}}
59
56
{{- if $err }}
60
57
Something went wrong rendering flaglist.go {{ $err }}
0 commit comments