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

Method MustBindWithDelimiter

binder.go:428–430  ·  view source on GitHub ↗

MustBindWithDelimiter requires parameter value to exist to bind destination by suitable conversion function. Delimiter is used before conversion to split parameter value to separate values

(sourceParam string, dest any, delimiter string)

Source from the content-addressed store, hash-verified

426// MustBindWithDelimiter requires parameter value to exist to bind destination by suitable conversion function.
427// Delimiter is used before conversion to split parameter value to separate values
428func (b *ValueBinder) MustBindWithDelimiter(sourceParam string, dest any, delimiter string) *ValueBinder {
429 return b.bindWithDelimiter(sourceParam, dest, delimiter, true)
430}
431
432func (b *ValueBinder) bindWithDelimiter(sourceParam string, dest any, delimiter string, valueMustExist bool) *ValueBinder {
433 if b.failFast && b.errors != nil {

Callers 1

Calls 1

bindWithDelimiterMethod · 0.95

Tested by 1