extruct

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PathSeparator = "."

	ErrInvalidPath = errors.New("invalid path")
)

Functions

func Extruct

func Extruct(v interface{}, path string) (interface{}, error)

Types

type NotFoundError

type NotFoundError struct {
	Path string
}

func (NotFoundError) Error

func (err NotFoundError) Error() string

func (NotFoundError) String

func (err NotFoundError) String() string

Jump to

Keyboard shortcuts

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