Skip to content

TimeRangeBuilder🔗

Constructor🔗

func NewTimeRangeBuilder() *TimeRangeBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *TimeRangeBuilder) Build() (TimeRange, error)

From🔗

From is the start time of the query.

func (builder *TimeRangeBuilder) From(from string) *TimeRangeBuilder

To🔗

To is the end time of the query.

func (builder *TimeRangeBuilder) To(to string) *TimeRangeBuilder

See also🔗