()
| 362 | } |
| 363 | |
| 364 | func init() { |
| 365 | for i := range SqlEncodeMap { |
| 366 | SqlEncodeMap[i] = DONTESCAPE |
| 367 | SqlDecodeMap[i] = DONTESCAPE |
| 368 | } |
| 369 | for i := range SqlEncodeMap { |
| 370 | if to, ok := encodeRef[byte(i)]; ok { |
| 371 | SqlEncodeMap[byte(i)] = to |
| 372 | SqlDecodeMap[to] = byte(i) |
| 373 | } |
| 374 | } |
| 375 | gob.Register(Numeric(nil)) |
| 376 | gob.Register(Fractional(nil)) |
| 377 | gob.Register(String(nil)) |
| 378 | } |
nothing calls this directly
no test coverage detected