TimeRangeBuilder
Constructor
func NewTimeRangeBuilder() *TimeRangeBuilder
Methods
Build
Builds the object.
func (builder *TimeRangeBuilder) Build() (TimeRange, error)
From
func (builder *TimeRangeBuilder) From(from time.Time) *TimeRangeBuilder
To
func (builder *TimeRangeBuilder) To(to time.Time) *TimeRangeBuilder
See also