Documentation ¶
Index ¶
Constants ¶
View Source
const ( // No 二态值 否 No int8 = 0 // Yes 二态值 是 Yes int8 = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boxes ¶ added in v0.3.0
type Boxes[T any] interface { Box(t T) Unbox() T }
Boxes Box/Unbox interface
type JsonBox ¶ added in v0.3.0
type JsonBox[T any] struct { // contains filtered or unexported fields }
JsonBox Json box for process database/sql json data
func NewJsonBox ¶ added in v0.3.0
NewJsonBox create a new JsonBox instance
func (*JsonBox[T]) MarshalJSON ¶ added in v0.3.0
func (*JsonBox[T]) UnmarshalJSON ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.