Documentation
¶
Index ¶
- func Float64(v float64) *float64
- func Int(v int) *int
- func Int64(v int64) *int64
- func ListResultFunc[T any](dataItemMapping func(*gjson.Json) T) func(json *gjson.Json) *ListResult[T]
- func String(v string) *string
- func VarFloat64(v *gvar.Var) *float64
- func VarInt(v *gvar.Var) *int
- func VarInt64(v *gvar.Var) *int64
- func VarString(v *gvar.Var) *string
- type DeletionStatus
- type ListParam
- type ListResult
- type UpdateMetadataParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListResultFunc ¶
func VarFloat64 ¶
Types ¶
type DeletionStatus ¶
type DeletionStatus struct { Id string `json:"id"` Deleted bool `json:"deleted"` Object string `json:"object"` }
func NewDeletionStatusFromJson ¶
func NewDeletionStatusFromJson(json *gjson.Json) *DeletionStatus
type ListResult ¶
type ListResult[T any] struct { FirstId string `json:"first_id"` LastId string `json:"last_id"` HasMore bool `json:"has_more"` Data []T `json:"data"` Object string `json:"object"` }
func ListResultFromJson ¶
type UpdateMetadataParam ¶
Click to show internal directories.
Click to hide internal directories.