maps

package
v0.0.0-...-25a2715 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(mapData map[string]string, key string) bool

Contains defined Contains

func GetBoolean

func GetBoolean(mapData map[string]string, key string, defaultValue bool) bool

GetBoolean defined GetBoolean

func GetFloat32

func GetFloat32(mapData map[string]string, key string, defaultValue float32) float32

GetFloat32 defined GetFloat32

func GetFloat64

func GetFloat64(mapData map[string]string, key string, defaultValue float64) float64

GetFloat64 defined GetFloat64

func GetInt

func GetInt(mapData map[string]string, key string, defaultValue int) int

GetInt defined GetInt

func GetInt64

func GetInt64(mapData map[string]string, key string, defaultValue int64) int64

GetInt64 defined GetInt64

func GetString

func GetString(mapData map[string]string, key string, defaultValue string) string

GetString defined GetString

Types

type SafeMap

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

SafeMap defined SafeMap

func NewSafeMap

func NewSafeMap() *SafeMap

NewSafeMap defined SafeMap

func (*SafeMap) ALL

func (s *SafeMap) ALL() map[string]interface{}

ALL defined ALL

func (*SafeMap) Get

func (s *SafeMap) Get(key string) interface{}

Get defined Get

func (*SafeMap) Set

func (s *SafeMap) Set(key string, value interface{})

Set defined Set

Jump to

Keyboard shortcuts

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