Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullBool ¶
NullBool mirrors sql.NullBool but marshals to JSON as a bool with false as the zero-value when the DB value is NULL.
func (NullBool) MarshalJSON ¶
type NullInt64 ¶
NullInt64 mirrors sql.NullInt64 but marshals to JSON as an int64 with 0 as the zero-value when the DB value is NULL.
func (NullInt64) MarshalJSON ¶
type NullString ¶
type NullString sql.NullString
NullString preserves the convenience of sql.NullString for scanning but marshals to JSON as a plain string, returning "" when the value is invalid.
func (NullString) MarshalJSON ¶
func (ns NullString) MarshalJSON() ([]byte, error)
func (*NullString) Scan ¶
func (ns *NullString) Scan(value any) error
type NullTime ¶
NullTime mirrors sql.NullTime but marshals to JSON as a time.Time, falling back to the zero time when the DB value is NULL.
func (NullTime) MarshalJSON ¶
type PipelineStage ¶
type PipelineStats ¶
type PipelineStats struct {
Total int64
Stages []PipelineStage
}
Click to show internal directories.
Click to hide internal directories.