van

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cast

func Cast(v interface{}, typ reflect.Type) (to interface{}, err error)

Types

type Van

type Van struct {
	// contains filtered or unexported fields
}

func New

func New() *Van

func (*Van) Get

func (v *Van) Get(key string) (val interface{})

func (*Van) GetAll

func (v *Van) GetAll() map[string]interface{}

func (*Van) Set

func (v *Van) Set(key string, value interface{})

func (*Van) SetDefault

func (v *Van) SetDefault(key string, value interface{})

Jump to

Keyboard shortcuts

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