pkgmap

package
v0.0.0-...-15a92f0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringStringMap

type StringStringMap map[string]string

StringStringMap is a map from strings to strings.

func (StringStringMap) Copy

Copy gets a copy of the StringStringMap.

func (StringStringMap) GetBool

func (s StringStringMap) GetBool(key string) (bool, error)

GetBool gets the bool if it is present, or 0 otherwise.

func (StringStringMap) GetInt32

func (s StringStringMap) GetInt32(key string) (int32, error)

GetInt32 gets the int32 if it is present, or 0 otherwise.

func (StringStringMap) GetInt64

func (s StringStringMap) GetInt64(key string) (int64, error)

GetInt64 gets the int64 if it is present, or 0 otherwise.

func (StringStringMap) GetRequiredBool

func (s StringStringMap) GetRequiredBool(key string) (bool, error)

GetRequiredBool gets the bool if it is present, or returns error otherwise.

func (StringStringMap) GetRequiredInt32

func (s StringStringMap) GetRequiredInt32(key string) (int32, error)

GetRequiredInt32 gets the int32 if it is present, or returns error otherwise.

func (StringStringMap) GetRequiredInt64

func (s StringStringMap) GetRequiredInt64(key string) (int64, error)

GetRequiredInt64 gets the int64 if it is present, or returns error otherwise.

func (StringStringMap) GetRequiredString

func (s StringStringMap) GetRequiredString(key string) (string, error)

GetRequiredString gets the string if it is present, or returns error otherwise.

func (StringStringMap) GetRequiredUint32

func (s StringStringMap) GetRequiredUint32(key string) (uint32, error)

GetRequiredUint32 gets the uint32 if it is present, or returns error otherwise.

func (StringStringMap) GetRequiredUint64

func (s StringStringMap) GetRequiredUint64(key string) (uint64, error)

GetRequiredUint64 gets the uint64 if it is present, or returns error otherwise.

func (StringStringMap) GetString

func (s StringStringMap) GetString(key string) (string, error)

GetString gets the string if it is present, or "" otherwise.

func (StringStringMap) GetUint32

func (s StringStringMap) GetUint32(key string) (uint32, error)

GetUint32 gets the uint32 if it is present, or 0 otherwise.

func (StringStringMap) GetUint64

func (s StringStringMap) GetUint64(key string) (uint64, error)

GetUint64 gets the uint64 if it is present, or 0 otherwise.

Jump to

Keyboard shortcuts

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