value

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 5 Imported by: 5

README

go-value

get value from struct with path

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(v interface{}, name string) (interface{}, error)

func GetWithDefault added in v1.0.1

func GetWithDefault(v interface{}, name string, defaultValue interface{}) interface{}

func MustGet

func MustGet(v interface{}, name string) interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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