MCPcopy Create free account
hub / github.com/dinedal/textql / init

Function init

sqlparser/sqltypes/sqltypes.go:364–378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362}
363
364func 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}

Callers

nothing calls this directly

Calls 3

NumericTypeAlias · 0.85
FractionalTypeAlias · 0.85
StringTypeAlias · 0.70

Tested by

no test coverage detected