Help us shape the future of Go! Take the 2026 Go Developer Survey

reflect

package
v0.153.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package reflect provides template functions for run-time object reflection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

type Namespace struct{}

Namespace provides template functions for the "reflect" namespace.

func New

func New() *Namespace

New returns a new instance of the reflect-namespaced template functions.

func (*Namespace) IsMap

func (ns *Namespace) IsMap(v any) bool

IsMap reports whether v is a map.

func (*Namespace) IsSlice

func (ns *Namespace) IsSlice(v any) bool

IsSlice reports whether v is a slice.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL