1{
2 "name": "",
3 "isFolderOnly": false,
4 "fontFamily": "SourceSansPro",
5 "shapes": [
6 {
7 "id": "hey",
8 "type": "code",
9 "pos": {
10 "x": 12,
11 "y": 148
12 },
13 "width": 755,
14 "height": 203,
15 "opacity": 1,
16 "strokeDash": 0,
17 "strokeWidth": 2,
18 "borderRadius": 0,
19 "fill": "N7",
20 "stroke": "N1",
21 "shadow": false,
22 "3d": false,
23 "multiple": false,
24 "double-border": false,
25 "tooltip": "",
26 "link": "",
27 "icon": null,
28 "iconPosition": "",
29 "blend": false,
30 "fields": null,
31 "methods": null,
32 "columns": null,
33 "label": "// RegisterHash registers a function that returns a new instance of the given\n// hash function. This is intended to be called from the init function in\n// packages that implement hash functions.\nfunc RegisterHash(h Hash, f func() hash.Hash) {\n\tif h >= maxHash {\n\t\tpanic(\"crypto: RegisterHash of unknown hash function\")\n\t}\n\thashes[h] = f\n}",
34 "fontSize": 16,
35 "fontFamily": "DEFAULT",
36 "language": "golang",
37 "color": "N1",
38 "italic": false,
39 "bold": true,
40 "underline": false,
41 "labelWidth": 739,
42 "labelHeight": 187,
43 "zIndex": 0,
44 "level": 1
45 },
46 {
47 "id": "x",
48 "type": "rectangle",
49 "pos": {
50 "x": 363,
51 "y": 12
52 },
53 "width": 53,
54 "height": 66,
55 "opacity": 1,
56 "strokeDash": 0,
57 "strokeWidth": 2,
58 "borderRadius": 0,
59 "fill": "B6",
60 "stroke": "B1",
61 "shadow": false,
62 "3d": false,
63 "multiple": false,
64 "double-border": false,
65 "tooltip": "",
66 "link": "",
67 "icon": null,
68 "iconPosition": "",
69 "blend": false,
70 "fields": null,
71 "methods": null,
72 "columns": null,
73 "label": "x",
74 "fontSize": 16,
75 "fontFamily": "DEFAULT",
76 "language": "",
77 "color": "N1",
78 "italic": false,
79 "bold": true,
80 "underline": false,
81 "labelWidth": 8,
82 "labelHeight": 21,
83 "labelPosition": "INSIDE_MIDDLE_CENTER",
84 "zIndex": 0,
85 "level": 1
86 },
87 {
88 "id": "y",
89 "type": "rectangle",
90 "pos": {
91 "x": 362,
92 "y": 421
93 },
94 "width": 54,
95 "height": 66,
96 "opacity": 1,
97 "strokeDash": 0,
98 "strokeWidth": 2,
99 "borderRadius": 0,
100 "fill": "B6",
101 "stroke": "B1",
102 "shadow": false,
103 "3d": false,
104 "multiple": false,
105 "double-border": false,
106 "tooltip": "",
107 "link": "",
108 "icon": null,
109 "iconPosition": "",
110 "blend": false,
111 "fields": null,
112 "methods": null,
113 "columns": null,
114 "label": "y",
115 "fontSize": 16,
116 "fontFamily": "DEFAULT",
117 "language": "",
118 "color": "N1",
119 "italic": false,
120 "bold": true,
121 "underline": false,
122 "labelWidth": 9,
123 "labelHeight": 21,
124 "labelPosition": "INSIDE_MIDDLE_CENTER",
125 "zIndex": 0,
126 "level": 1
127 }
128 ],
129 "connections": [
130 {
131 "id": "(x -> hey)[0]",
132 "src": "x",
133 "srcArrow": "none",
134 "dst": "hey",
135 "dstArrow": "triangle",
136 "opacity": 1,
137 "strokeDash": 0,
138 "strokeWidth": 2,
139 "stroke": "B1",
140 "borderRadius": 10,
141 "label": "",
142 "fontSize": 16,
143 "fontFamily": "DEFAULT",
144 "language": "",
145 "color": "N2",
146 "italic": true,
147 "bold": false,
148 "underline": false,
149 "labelWidth": 0,
150 "labelHeight": 0,
151 "labelPosition": "",
152 "labelPercentage": 0,
153 "route": [
154 {
155 "x": 389.5,
156 "y": 78
157 },
158 {
159 "x": 389.5,
160 "y": 148
161 }
162 ],
163 "animated": false,
164 "tooltip": "",
165 "icon": null,
166 "zIndex": 0
167 },
168 {
169 "id": "(hey -> y)[0]",
170 "src": "hey",
171 "srcArrow": "none",
172 "dst": "y",
173 "dstArrow": "triangle",
174 "opacity": 1,
175 "strokeDash": 0,
176 "strokeWidth": 2,
177 "stroke": "B1",
178 "borderRadius": 10,
179 "label": "",
180 "fontSize": 16,
181 "fontFamily": "DEFAULT",
182 "language": "",
183 "color": "N2",
184 "italic": true,
185 "bold": false,
186 "underline": false,
187 "labelWidth": 0,
188 "labelHeight": 0,
189 "labelPosition": "",
190 "labelPercentage": 0,
191 "route": [
192 {
193 "x": 389.5,
194 "y": 351
195 },
196 {
197 "x": 389.5,
198 "y": 421
199 }
200 ],
201 "animated": false,
202 "tooltip": "",
203 "icon": null,
204 "zIndex": 0
205 }
206 ],
207 "root": {
208 "id": "",
209 "type": "",
210 "pos": {
211 "x": 0,
212 "y": 0
213 },
214 "width": 0,
215 "height": 0,
216 "opacity": 0,
217 "strokeDash": 0,
218 "strokeWidth": 0,
219 "borderRadius": 0,
220 "fill": "N7",
221 "stroke": "",
222 "shadow": false,
223 "3d": false,
224 "multiple": false,
225 "double-border": false,
226 "tooltip": "",
227 "link": "",
228 "icon": null,
229 "iconPosition": "",
230 "blend": false,
231 "fields": null,
232 "methods": null,
233 "columns": null,
234 "label": "",
235 "fontSize": 0,
236 "fontFamily": "",
237 "language": "",
238 "color": "",
239 "italic": false,
240 "bold": false,
241 "underline": false,
242 "labelWidth": 0,
243 "labelHeight": 0,
244 "zIndex": 0,
245 "level": 0
246 }
247}
View as plain text