Skip to content
Myr

uri.go

This file

Path

binding/uri.go

18 lines · 399 bytes · Go

Last changed by

Not known.

History of this file

Take it

1// Copyright 2018 Gin Core Team. All rights reserved.2// Use of this source code is governed by a MIT style3// license that can be found in the LICENSE file.45package binding67type uriBinding struct{}89func (uriBinding) Name() string {10	return "uri"11}1213func (uriBinding) BindUri(m map[string][]string, obj any) error {14	if err := mapURI(obj, m); err != nil {15		return err16	}17	return validate(obj)18}