MCPcopy Index your code
hub / github.com/labstack/echo / Durations

Method Durations

binder.go:1210–1212  ·  view source on GitHub ↗

Durations binds parameter values to slice of time.Duration variables

(sourceParam string, dest *[]time.Duration)

Source from the content-addressed store, hash-verified

1208
1209// Durations binds parameter values to slice of time.Duration variables
1210func (b *ValueBinder) Durations(sourceParam string, dest *[]time.Duration) *ValueBinder {
1211 return b.durationsValue(sourceParam, dest, false)
1212}
1213
1214// MustDurations requires parameter values to exist to bind to slice of time.Duration variables. Returns error when values does not exist
1215func (b *ValueBinder) MustDurations(sourceParam string, dest *[]time.Duration) *ValueBinder {

Callers 2

Calls 1

durationsValueMethod · 0.95

Tested by 2