typewalk
package v1.92.2
Go to latest Published: Dec 10, 2025 License:BSD-3-Clause
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:3 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package typewalk provides utilities to walk Go types using reflection.
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
Types¶
typePath¶
type Path struct {// Name is the path from the root type, suitable for using as a t.Run name.Namestring// Walk returns the reflect.Value at the end of the path, given a root// reflect.Value.Walk func(rootreflect.Value) (leafreflect.Value)}Path describes a path via a type where a private key may be found,along with a function to test whether a reflect.Value at that path isnon-zero.
Click to show internal directories.
Click to hide internal directories.