Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StorageJSON ¶ added in v0.20.0
StorageJSON normalizes string values before they reach jsonb. Decode only potentially unsafe input, preserving numeric precision and literal escapes.
func StorageText ¶ added in v0.20.0
StorageText makes binary bytes visible in text-only transports. PostgreSQL text and jsonb cannot represent NUL, even when JSON encodes it as an escape. Existing literal backslash sequences are left untouched.
func TruncateRunes ¶
TruncateRunes returns s truncated to at most maxRunes Unicode code points.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.