1 package yue_Hans_CN
2
3 import (
4 "math"
5 "strconv"
6 "time"
7
8 "github.com/go-playground/locales"
9 "github.com/go-playground/locales/currency"
10 )
11
12 type yue_Hans_CN struct {
13 locale string
14 pluralsCardinal []locales.PluralRule
15 pluralsOrdinal []locales.PluralRule
16 pluralsRange []locales.PluralRule
17 decimal string
18 group string
19 minus string
20 percent string
21 perMille string
22 timeSeparator string
23 inifinity string
24 currencies []string
25 monthsAbbreviated []string
26 monthsNarrow []string
27 monthsWide []string
28 daysAbbreviated []string
29 daysNarrow []string
30 daysShort []string
31 daysWide []string
32 periodsAbbreviated []string
33 periodsNarrow []string
34 periodsShort []string
35 periodsWide []string
36 erasAbbreviated []string
37 erasNarrow []string
38 erasWide []string
39 timezones map[string]string
40 }
41
42
43 func New() locales.Translator {
44 return &yue_Hans_CN{
45 locale: "yue_Hans_CN",
46 pluralsCardinal: []locales.PluralRule{6},
47 pluralsOrdinal: []locales.PluralRule{6},
48 pluralsRange: []locales.PluralRule{6},
49 decimal: ".",
50 group: ",",
51 minus: "-",
52 percent: "%",
53 perMille: "‰",
54 timeSeparator: ":",
55 inifinity: "∞",
56 currencies: []string{"ADP", "AED", "AFA", "AFN", "ALK", "ALL", "AMD", "ANG", "AOA", "AOK", "AON", "AOR", "ARA", "ARL", "ARM", "ARP", "ARS", "ATS", "AUD", "AWG", "AZM", "AZN", "BAD", "BAM", "BAN", "BBD", "BDT", "BEC", "BEF", "BEL", "BGL", "BGM", "BGN", "BGO", "BHD", "BIF", "BMD", "BND", "BOB", "BOL", "BOP", "BOV", "BRB", "BRC", "BRE", "BRL", "BRN", "BRR", "BRZ", "BSD", "BTN", "BUK", "BWP", "BYB", "BYN", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLE", "CLF", "CLP", "CNH", "CNX", "CNY", "COP", "COU", "CRC", "CSD", "CSK", "CUC", "CUP", "CVE", "CYP", "CZK", "DDM", "DEM", "DJF", "DKK", "DOP", "DZD", "ECS", "ECV", "EEK", "EGP", "ERN", "ESA", "ESB", "ESP", "ETB", "EUR", "FIM", "FJD", "FKP", "FRF", "GBP", "GEK", "GEL", "GHC", "GHS", "GIP", "GMD", "GNF", "GNS", "GQE", "GRD", "GTQ", "GWE", "GWP", "GYD", "HKD", "HNL", "HRD", "HRK", "HTG", "HUF", "IDR", "IEP", "ILP", "ILR", "ILS", "INR", "IQD", "IRR", "ISJ", "ISK", "ITL", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRH", "KRO", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LTT", "LUC", "LUF", "LUL", "LVL", "LVR", "LYD", "MAD", "MAF", "MCF", "MDC", "MDL", "MGA", "MGF", "MKD", "MKN", "MLF", "MMK", "MNT", "MOP", "MRO", "MRU", "MTL", "MTP", "MUR", "MVP", "MVR", "MWK", "MXN", "MXP", "MXV", "MYR", "MZE", "MZM", "MZN", "NAD", "NGN", "NIC", "NIO", "NLG", "NOK", "NPR", "NZD", "OMR", "PAB", "PEI", "PEN", "PES", "PGK", "PHP", "PKR", "PLN", "PLZ", "PTE", "PYG", "QAR", "RHD", "ROL", "RON", "RSD", "RUB", "RUR", "RWF", "SAR", "SBD", "SCR", "SDD", "SDG", "SDP", "SEK", "SGD", "SHP", "SIT", "SKK", "SLL", "SOS", "SRD", "SRG", "SSP", "STD", "STN", "SUR", "SVC", "SYP", "SZL", "THB", "TJR", "TJS", "TMM", "TMT", "TND", "TOP", "TPE", "TRL", "TRY", "TTD", "TWD", "TZS", "UAH", "UAK", "UGS", "UGX", "USD", "USN", "USS", "UYI", "UYP", "UYU", "UYW", "UZS", "VEB", "VEF", "VES", "VND", "VNN", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XEU", "XFO", "XFU", "XOF", "XPD", "XPF", "XPT", "XRE", "XSU", "XTS", "XUA", "XXX", "YDD", "YER", "YUD", "YUM", "YUN", "YUR", "ZAL", "ZAR", "ZMK", "ZMW", "ZRN", "ZRZ", "ZWD", "ZWL", "ZWR"},
57 monthsAbbreviated: []string{"", "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"},
58 monthsNarrow: []string{"", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"},
59 monthsWide: []string{"", "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"},
60 daysAbbreviated: []string{"星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"},
61 daysNarrow: []string{"日", "一", "二", "三", "四", "五", "六"},
62 daysShort: []string{"日", "一", "二", "三", "四", "五", "六"},
63 daysWide: []string{"星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"},
64 periodsAbbreviated: []string{"上午", "下午"},
65 periodsNarrow: []string{"上午", "下午"},
66 periodsWide: []string{"上午", "下午"},
67 erasAbbreviated: []string{"西元前", "西元"},
68 erasNarrow: []string{"西元前", "西元"},
69 erasWide: []string{"西元前", "西元"},
70 timezones: map[string]string{"ACDT": "澳洲中部夏令時間", "ACST": "澳洲中部標準時間", "ACWDT": "澳洲中西部夏令時間", "ACWST": "澳洲中西部標準時間", "ADT": "大西洋夏令時間", "AEDT": "澳洲東部夏令時間", "AEST": "澳洲東部標準時間", "AKDT": "阿拉斯加夏令時間", "AKST": "阿拉斯加標準時間", "ARST": "阿根廷夏令時間", "ART": "阿根廷標準時間", "AST": "大西洋標準時間", "AWDT": "澳洲西部夏令時間", "AWST": "澳洲西部標準時間", "BOT": "玻利維亞時間", "BT": "不丹時間", "CAT": "中非時間", "CDT": "中部夏令時間", "CHADT": "查坦群島夏令時間", "CHAST": "查坦群島標準時間", "CLST": "智利夏令時間", "CLT": "智利標準時間", "COST": "哥倫比亞夏令時間", "COT": "哥倫比亞標準時間", "CST": "中部標準時間", "ChST": "查莫洛時間", "EAT": "東非時間", "ECT": "厄瓜多時間", "EDT": "東部夏令時間", "EST": "東部標準時間", "GFT": "法屬圭亞那時間", "GMT": "格林威治標準時間", "GST": "波斯灣海域標準時間", "GYT": "蓋亞那時間", "HADT": "夏威夷-阿留申夏令時間", "HAST": "夏威夷-阿留申標準時間", "HAT": "紐芬蘭夏令時間", "HECU": "古巴夏令時間", "HEEG": "格陵蘭東部夏令時間", "HENOMX": "墨西哥西北部夏令時間", "HEOG": "格陵蘭西部夏令時間", "HEPM": "聖皮埃爾和密克隆群島夏令時間", "HEPMX": "墨西哥太平洋夏令時間", "HKST": "香港夏令時間", "HKT": "香港標準時間", "HNCU": "古巴標準時間", "HNEG": "格陵蘭東部標準時間", "HNNOMX": "墨西哥西北部標準時間", "HNOG": "格陵蘭西部標準時間", "HNPM": "聖皮埃爾和密克隆群島標準時間", "HNPMX": "墨西哥太平洋標準時間", "HNT": "紐芬蘭標準時間", "IST": "印度標準時間", "JDT": "日本夏令時間", "JST": "日本標準時間", "LHDT": "豪勳爵島夏令時間", "LHST": "豪勳爵島標準時間", "MDT": "山區夏令時間", "MESZ": "中歐夏令時間", "MEZ": "中歐標準時間", "MST": "山區標準時間", "MYT": "馬來西亞時間", "NZDT": "紐西蘭夏令時間", "NZST": "紐西蘭標準時間", "OESZ": "東歐夏令時間", "OEZ": "東歐標準時間", "PDT": "太平洋夏令時間", "PST": "太平洋標準時間", "SAST": "南非標準時間", "SGT": "新加坡標準時間", "SRT": "蘇利南時間", "TMST": "土庫曼夏令時間", "TMT": "土庫曼標準時間", "UYST": "烏拉圭夏令時間", "UYT": "烏拉圭標準時間", "VET": "委內瑞拉時間", "WARST": "阿根廷西部夏令時間", "WART": "阿根廷西部標準時間", "WAST": "西非夏令時間", "WAT": "西非標準時間", "WESZ": "西歐夏令時間", "WEZ": "西歐標準時間", "WIB": "印尼西部時間", "WIT": "印尼東部時間", "WITA": "印尼中部時間", "∅∅∅": "亞速爾群島夏令時間"},
71 }
72 }
73
74
75 func (yue *yue_Hans_CN) Locale() string {
76 return yue.locale
77 }
78
79
80 func (yue *yue_Hans_CN) PluralsCardinal() []locales.PluralRule {
81 return yue.pluralsCardinal
82 }
83
84
85 func (yue *yue_Hans_CN) PluralsOrdinal() []locales.PluralRule {
86 return yue.pluralsOrdinal
87 }
88
89
90 func (yue *yue_Hans_CN) PluralsRange() []locales.PluralRule {
91 return yue.pluralsRange
92 }
93
94
95 func (yue *yue_Hans_CN) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
96 return locales.PluralRuleOther
97 }
98
99
100 func (yue *yue_Hans_CN) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
101 return locales.PluralRuleOther
102 }
103
104
105 func (yue *yue_Hans_CN) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
106 return locales.PluralRuleOther
107 }
108
109
110 func (yue *yue_Hans_CN) MonthAbbreviated(month time.Month) string {
111 return yue.monthsAbbreviated[month]
112 }
113
114
115 func (yue *yue_Hans_CN) MonthsAbbreviated() []string {
116 return yue.monthsAbbreviated[1:]
117 }
118
119
120 func (yue *yue_Hans_CN) MonthNarrow(month time.Month) string {
121 return yue.monthsNarrow[month]
122 }
123
124
125 func (yue *yue_Hans_CN) MonthsNarrow() []string {
126 return yue.monthsNarrow[1:]
127 }
128
129
130 func (yue *yue_Hans_CN) MonthWide(month time.Month) string {
131 return yue.monthsWide[month]
132 }
133
134
135 func (yue *yue_Hans_CN) MonthsWide() []string {
136 return yue.monthsWide[1:]
137 }
138
139
140 func (yue *yue_Hans_CN) WeekdayAbbreviated(weekday time.Weekday) string {
141 return yue.daysAbbreviated[weekday]
142 }
143
144
145 func (yue *yue_Hans_CN) WeekdaysAbbreviated() []string {
146 return yue.daysAbbreviated
147 }
148
149
150 func (yue *yue_Hans_CN) WeekdayNarrow(weekday time.Weekday) string {
151 return yue.daysNarrow[weekday]
152 }
153
154
155 func (yue *yue_Hans_CN) WeekdaysNarrow() []string {
156 return yue.daysNarrow
157 }
158
159
160 func (yue *yue_Hans_CN) WeekdayShort(weekday time.Weekday) string {
161 return yue.daysShort[weekday]
162 }
163
164
165 func (yue *yue_Hans_CN) WeekdaysShort() []string {
166 return yue.daysShort
167 }
168
169
170 func (yue *yue_Hans_CN) WeekdayWide(weekday time.Weekday) string {
171 return yue.daysWide[weekday]
172 }
173
174
175 func (yue *yue_Hans_CN) WeekdaysWide() []string {
176 return yue.daysWide
177 }
178
179
180 func (yue *yue_Hans_CN) Decimal() string {
181 return yue.decimal
182 }
183
184
185 func (yue *yue_Hans_CN) Group() string {
186 return yue.group
187 }
188
189
190 func (yue *yue_Hans_CN) Minus() string {
191 return yue.minus
192 }
193
194
195 func (yue *yue_Hans_CN) FmtNumber(num float64, v uint64) string {
196
197 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
198 l := len(s) + 2 + 1*len(s[:len(s)-int(v)-1])/3
199 count := 0
200 inWhole := v == 0
201 b := make([]byte, 0, l)
202
203 for i := len(s) - 1; i >= 0; i-- {
204
205 if s[i] == '.' {
206 b = append(b, yue.decimal[0])
207 inWhole = true
208 continue
209 }
210
211 if inWhole {
212 if count == 3 {
213 b = append(b, yue.group[0])
214 count = 1
215 } else {
216 count++
217 }
218 }
219
220 b = append(b, s[i])
221 }
222
223 if num < 0 {
224 b = append(b, yue.minus[0])
225 }
226
227
228 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
229 b[i], b[j] = b[j], b[i]
230 }
231
232 return string(b)
233 }
234
235
236
237 func (yue *yue_Hans_CN) FmtPercent(num float64, v uint64) string {
238 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
239 l := len(s) + 3
240 b := make([]byte, 0, l)
241
242 for i := len(s) - 1; i >= 0; i-- {
243
244 if s[i] == '.' {
245 b = append(b, yue.decimal[0])
246 continue
247 }
248
249 b = append(b, s[i])
250 }
251
252 if num < 0 {
253 b = append(b, yue.minus[0])
254 }
255
256
257 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
258 b[i], b[j] = b[j], b[i]
259 }
260
261 b = append(b, yue.percent...)
262
263 return string(b)
264 }
265
266
267 func (yue *yue_Hans_CN) FmtCurrency(num float64, v uint64, currency currency.Type) string {
268
269 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
270 symbol := yue.currencies[currency]
271 l := len(s) + len(symbol) + 2 + 1*len(s[:len(s)-int(v)-1])/3
272 count := 0
273 inWhole := v == 0
274 b := make([]byte, 0, l)
275
276 for i := len(s) - 1; i >= 0; i-- {
277
278 if s[i] == '.' {
279 b = append(b, yue.decimal[0])
280 inWhole = true
281 continue
282 }
283
284 if inWhole {
285 if count == 3 {
286 b = append(b, yue.group[0])
287 count = 1
288 } else {
289 count++
290 }
291 }
292
293 b = append(b, s[i])
294 }
295
296 for j := len(symbol) - 1; j >= 0; j-- {
297 b = append(b, symbol[j])
298 }
299
300 if num < 0 {
301 b = append(b, yue.minus[0])
302 }
303
304
305 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
306 b[i], b[j] = b[j], b[i]
307 }
308
309 if int(v) < 2 {
310
311 if v == 0 {
312 b = append(b, yue.decimal...)
313 }
314
315 for i := 0; i < 2-int(v); i++ {
316 b = append(b, '0')
317 }
318 }
319
320 return string(b)
321 }
322
323
324
325 func (yue *yue_Hans_CN) FmtAccounting(num float64, v uint64, currency currency.Type) string {
326
327 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
328 symbol := yue.currencies[currency]
329 l := len(s) + len(symbol) + 2 + 1*len(s[:len(s)-int(v)-1])/3
330 count := 0
331 inWhole := v == 0
332 b := make([]byte, 0, l)
333
334 for i := len(s) - 1; i >= 0; i-- {
335
336 if s[i] == '.' {
337 b = append(b, yue.decimal[0])
338 inWhole = true
339 continue
340 }
341
342 if inWhole {
343 if count == 3 {
344 b = append(b, yue.group[0])
345 count = 1
346 } else {
347 count++
348 }
349 }
350
351 b = append(b, s[i])
352 }
353
354 if num < 0 {
355
356 for j := len(symbol) - 1; j >= 0; j-- {
357 b = append(b, symbol[j])
358 }
359
360 b = append(b, yue.minus[0])
361
362 } else {
363
364 for j := len(symbol) - 1; j >= 0; j-- {
365 b = append(b, symbol[j])
366 }
367
368 }
369
370
371 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
372 b[i], b[j] = b[j], b[i]
373 }
374
375 if int(v) < 2 {
376
377 if v == 0 {
378 b = append(b, yue.decimal...)
379 }
380
381 for i := 0; i < 2-int(v); i++ {
382 b = append(b, '0')
383 }
384 }
385
386 return string(b)
387 }
388
389
390 func (yue *yue_Hans_CN) FmtDateShort(t time.Time) string {
391
392 b := make([]byte, 0, 32)
393
394 if t.Year() > 0 {
395 b = strconv.AppendInt(b, int64(t.Year()), 10)
396 } else {
397 b = strconv.AppendInt(b, int64(-t.Year()), 10)
398 }
399
400 b = append(b, []byte{0x2f}...)
401 b = strconv.AppendInt(b, int64(t.Month()), 10)
402 b = append(b, []byte{0x2f}...)
403 b = strconv.AppendInt(b, int64(t.Day()), 10)
404
405 return string(b)
406 }
407
408
409 func (yue *yue_Hans_CN) FmtDateMedium(t time.Time) string {
410
411 b := make([]byte, 0, 32)
412
413 if t.Year() > 0 {
414 b = strconv.AppendInt(b, int64(t.Year()), 10)
415 } else {
416 b = strconv.AppendInt(b, int64(-t.Year()), 10)
417 }
418
419 b = append(b, []byte{0xe5, 0xb9, 0xb4}...)
420 b = strconv.AppendInt(b, int64(t.Month()), 10)
421 b = append(b, []byte{0xe6, 0x9c, 0x88}...)
422 b = strconv.AppendInt(b, int64(t.Day()), 10)
423 b = append(b, []byte{0xe6, 0x97, 0xa5}...)
424
425 return string(b)
426 }
427
428
429 func (yue *yue_Hans_CN) FmtDateLong(t time.Time) string {
430
431 b := make([]byte, 0, 32)
432
433 if t.Year() > 0 {
434 b = strconv.AppendInt(b, int64(t.Year()), 10)
435 } else {
436 b = strconv.AppendInt(b, int64(-t.Year()), 10)
437 }
438
439 b = append(b, []byte{0xe5, 0xb9, 0xb4}...)
440 b = strconv.AppendInt(b, int64(t.Month()), 10)
441 b = append(b, []byte{0xe6, 0x9c, 0x88}...)
442 b = strconv.AppendInt(b, int64(t.Day()), 10)
443 b = append(b, []byte{0xe6, 0x97, 0xa5}...)
444
445 return string(b)
446 }
447
448
449 func (yue *yue_Hans_CN) FmtDateFull(t time.Time) string {
450
451 b := make([]byte, 0, 32)
452
453 if t.Year() > 0 {
454 b = strconv.AppendInt(b, int64(t.Year()), 10)
455 } else {
456 b = strconv.AppendInt(b, int64(-t.Year()), 10)
457 }
458
459 b = append(b, []byte{0xe5, 0xb9, 0xb4}...)
460 b = strconv.AppendInt(b, int64(t.Month()), 10)
461 b = append(b, []byte{0xe6, 0x9c, 0x88}...)
462 b = strconv.AppendInt(b, int64(t.Day()), 10)
463 b = append(b, []byte{0xe6, 0x97, 0xa5, 0x20}...)
464 b = append(b, yue.daysWide[t.Weekday()]...)
465
466 return string(b)
467 }
468
469
470 func (yue *yue_Hans_CN) FmtTimeShort(t time.Time) string {
471
472 b := make([]byte, 0, 32)
473
474 if t.Hour() < 12 {
475 b = append(b, yue.periodsAbbreviated[0]...)
476 } else {
477 b = append(b, yue.periodsAbbreviated[1]...)
478 }
479
480 h := t.Hour()
481
482 if h > 12 {
483 h -= 12
484 }
485
486 b = strconv.AppendInt(b, int64(h), 10)
487 b = append(b, yue.timeSeparator...)
488
489 if t.Minute() < 10 {
490 b = append(b, '0')
491 }
492
493 b = strconv.AppendInt(b, int64(t.Minute()), 10)
494
495 return string(b)
496 }
497
498
499 func (yue *yue_Hans_CN) FmtTimeMedium(t time.Time) string {
500
501 b := make([]byte, 0, 32)
502
503 if t.Hour() < 12 {
504 b = append(b, yue.periodsAbbreviated[0]...)
505 } else {
506 b = append(b, yue.periodsAbbreviated[1]...)
507 }
508
509 h := t.Hour()
510
511 if h > 12 {
512 h -= 12
513 }
514
515 b = strconv.AppendInt(b, int64(h), 10)
516 b = append(b, yue.timeSeparator...)
517
518 if t.Minute() < 10 {
519 b = append(b, '0')
520 }
521
522 b = strconv.AppendInt(b, int64(t.Minute()), 10)
523 b = append(b, yue.timeSeparator...)
524
525 if t.Second() < 10 {
526 b = append(b, '0')
527 }
528
529 b = strconv.AppendInt(b, int64(t.Second()), 10)
530
531 return string(b)
532 }
533
534
535 func (yue *yue_Hans_CN) FmtTimeLong(t time.Time) string {
536
537 b := make([]byte, 0, 32)
538
539 if t.Hour() < 12 {
540 b = append(b, yue.periodsAbbreviated[0]...)
541 } else {
542 b = append(b, yue.periodsAbbreviated[1]...)
543 }
544
545 h := t.Hour()
546
547 if h > 12 {
548 h -= 12
549 }
550
551 b = strconv.AppendInt(b, int64(h), 10)
552 b = append(b, yue.timeSeparator...)
553
554 if t.Minute() < 10 {
555 b = append(b, '0')
556 }
557
558 b = strconv.AppendInt(b, int64(t.Minute()), 10)
559 b = append(b, yue.timeSeparator...)
560
561 if t.Second() < 10 {
562 b = append(b, '0')
563 }
564
565 b = strconv.AppendInt(b, int64(t.Second()), 10)
566 b = append(b, []byte{0x20, 0x5b}...)
567
568 tz, _ := t.Zone()
569 b = append(b, tz...)
570
571 b = append(b, []byte{0x5d}...)
572
573 return string(b)
574 }
575
576
577 func (yue *yue_Hans_CN) FmtTimeFull(t time.Time) string {
578
579 b := make([]byte, 0, 32)
580
581 if t.Hour() < 12 {
582 b = append(b, yue.periodsAbbreviated[0]...)
583 } else {
584 b = append(b, yue.periodsAbbreviated[1]...)
585 }
586
587 h := t.Hour()
588
589 if h > 12 {
590 h -= 12
591 }
592
593 b = strconv.AppendInt(b, int64(h), 10)
594 b = append(b, yue.timeSeparator...)
595
596 if t.Minute() < 10 {
597 b = append(b, '0')
598 }
599
600 b = strconv.AppendInt(b, int64(t.Minute()), 10)
601 b = append(b, yue.timeSeparator...)
602
603 if t.Second() < 10 {
604 b = append(b, '0')
605 }
606
607 b = strconv.AppendInt(b, int64(t.Second()), 10)
608 b = append(b, []byte{0x20, 0x5b}...)
609
610 tz, _ := t.Zone()
611
612 if btz, ok := yue.timezones[tz]; ok {
613 b = append(b, btz...)
614 } else {
615 b = append(b, tz...)
616 }
617
618 b = append(b, []byte{0x5d}...)
619
620 return string(b)
621 }
622
View as plain text