Documentation ¶
Index ¶
- func Fill[T any](values []T, timeCol []time.Time, value T, gte, lt time.Time, ...) []T
- func FillHoles(m map[string]any, gte, lt time.Time, interval time.Duration)
- func FillTime(timeCol []time.Time, gte, lt time.Time, interval time.Duration) []time.Time
- func FillUnixNum[T constraints.Integer | constraints.Float](values []T, timeCol []unixtime.Seconds, value float64, gte, lt time.Time, ...) []float64
- func FillUnixTime(timeCol []unixtime.Seconds, gte, lt time.Time, interval time.Duration) []unixtime.Seconds
- func IsJSON(s string) (map[string]any, bool)
- type Debouncer
- type NullFloat64
- func (f NullFloat64) MarshalJSON() ([]byte, error)
- func (f NullFloat64) MarshalYAML() (interface{}, error)
- func (f *NullFloat64) Scan(value any) error
- func (f *NullFloat64) UnmarshalJSON(data []byte) error
- func (f *NullFloat64) UnmarshalYAML(value *yaml.Node) error
- func (f NullFloat64) Value() (driver.Value, error)
- type OnceMap
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FillUnixNum ¶ added in v1.6.2
func FillUnixTime ¶ added in v1.6.2
Types ¶
type Debouncer ¶
type Debouncer struct {
// contains filtered or unexported fields
}
func NewDebouncer ¶
func NewDebouncer() *Debouncer
type NullFloat64 ¶
type NullFloat64 sql.NullFloat64
func Float64 ¶
func Float64(f float64) NullFloat64
func (NullFloat64) MarshalJSON ¶
func (f NullFloat64) MarshalJSON() ([]byte, error)
func (NullFloat64) MarshalYAML ¶ added in v1.6.2
func (f NullFloat64) MarshalYAML() (interface{}, error)
func (*NullFloat64) Scan ¶
func (f *NullFloat64) Scan(value any) error
func (*NullFloat64) UnmarshalJSON ¶
func (f *NullFloat64) UnmarshalJSON(data []byte) error
func (*NullFloat64) UnmarshalYAML ¶
func (f *NullFloat64) UnmarshalYAML(value *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.