reflect

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: Apache-2.0 Imports: 3 Imported by: 2

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 interface{}) bool

IsMap reports whether v is a map.

func (*Namespace) IsSlice

func (ns *Namespace) IsSlice(v interface{}) 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