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

Method UnmarshalParam

bind_test.go:113–117  ·  view source on GitHub ↗
(src string)

Source from the content-addressed store, hash-verified

111}
112
113func (t *Timestamp) UnmarshalParam(src string) error {
114 ts, err := time.Parse(time.RFC3339, src)
115 *t = Timestamp(ts)
116 return err
117}
118
119func (a *StringArray) UnmarshalParam(src string) error {
120 *a = StringArray(strings.Split(src, ","))

Callers

nothing calls this directly

Calls 1

TimestampTypeAlias · 0.85

Tested by

no test coverage detected