Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Span ¶
type Span struct {
// contains filtered or unexported fields
}
Span represents interval between two times.
func Compact ¶
Compact merges adjacent spans if end of prev span is less than start of next span or gap less than diff.
func (Span) MarshalJSON ¶
func (*Span) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.