Home / File/ uri.go — gin Source File

uri.go — gin Source File

Architecture documentation for uri.go, a go file in the gin codebase.

Entity Profile

Relationship Graph

Source Code

// Copyright 2018 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.

package binding

type uriBinding struct{}

func (uriBinding) Name() string {
	return "uri"
}

func (uriBinding) BindUri(m map[string][]string, obj any) error {
	if err := mapURI(obj, m); err != nil {
		return err
	}
	return validate(obj)
}

Types

Frequently Asked Questions

What does uri.go do?
uri.go is a source file in the gin codebase, written in go.
Where is uri.go in the architecture?
uri.go is located at binding/uri.go (directory: binding).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free