utils

package module
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Boolean

func Boolean(key string, m map[string]interface{}) (bool, bool)

func Duration

func Duration(key string, m map[string]interface{}) (time.Duration, bool)

func Integer

func Integer(key string, m map[string]interface{}) (int, bool)

func MapStringInterface

func MapStringInterface(key string, m map[string]interface{}) (map[string]interface{}, bool)

func MapStringString

func MapStringString(key string, m map[string]interface{}) (map[string]string, bool)

func PStringSlice

func PStringSlice(key string, m map[string]interface{}) ([]*string, bool)

func String

func String(key string, m map[string]interface{}) (string, bool)

func StringSlice

func StringSlice(key string, m map[string]interface{}) ([]string, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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