MCPcopy
hub / github.com/labstack/echo / Int

Method Int

binder.go:511–513  ·  view source on GitHub ↗

Int binds parameter to int variable

(sourceParam string, dest *int)

Source from the content-addressed store, hash-verified

509
510// Int binds parameter to int variable
511func (b *ValueBinder) Int(sourceParam string, dest *int) *ValueBinder {
512 return b.intValue(sourceParam, dest, 0, false)
513}
514
515// MustInt requires parameter value to exist to bind to int variable. Returns error when value does not exist
516func (b *ValueBinder) MustInt(sourceParam string, dest *int) *ValueBinder {

Callers 3

RequestLoggerFunction · 0.80

Calls 1

intValueMethod · 0.95

Tested by 2