Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StructOrArray ¶
type StructOrArray[T any] struct { Value *T // 正常时解析为对象 Array []T }
func (*StructOrArray[T]) UnmarshalJSON ¶
func (dw *StructOrArray[T]) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.