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

Method MustByte

binder.go:734–736  ·  view source on GitHub ↗

MustByte requires parameter value to exist to bind to byte variable. Returns error when value does not exist

(sourceParam string, dest *byte)

Source from the content-addressed store, hash-verified

732
733// MustByte requires parameter value to exist to bind to byte variable. Returns error when value does not exist
734func (b *ValueBinder) MustByte(sourceParam string, dest *byte) *ValueBinder {
735 return b.uintValue(sourceParam, dest, 8, true)
736}
737
738// Uint binds parameter to uint variable
739func (b *ValueBinder) Uint(sourceParam string, dest *uint) *ValueBinder {

Callers 1

Calls 1

uintValueMethod · 0.95

Tested by 1