parse

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetColorFromMap

func GetColorFromMap(k string, m map[string]interface{}) (color.Color, bool, error)

func GetFloatFromMap

func GetFloatFromMap(k string, m map[string]interface{}) (float64, bool, error)

func GetFontFromMap

func GetFontFromMap(k string, m map[string]interface{}) (*truetype.Font, bool, error)

func GetFontHintingFromMap

func GetFontHintingFromMap(k string, m map[string]interface{}) (font.Hinting, bool, error)

func GetImageFromMap

func GetImageFromMap(k string, m map[string]interface{}) (*image.RGBA, bool, error)

func GetIntFromMap

func GetIntFromMap(k string, m map[string]interface{}) (int, bool, error)

func GetInterfaceFromMap

func GetInterfaceFromMap(k string, m map[string]interface{}) (interface{}, bool, error)

func GetMapFromMap

func GetMapFromMap(k string, m map[string]interface{}) (map[string]interface{}, bool, error)

func GetRegexpFromMap

func GetRegexpFromMap(k string, m map[string]interface{}) (*regexp.Regexp, bool, error)

func GetRequiredColorFromMap

func GetRequiredColorFromMap(k string, m map[string]interface{}) (color.Color, error)

func GetRequiredFloatFromMap

func GetRequiredFloatFromMap(k string, m map[string]interface{}) (float64, error)

func GetRequiredFontFromMap

func GetRequiredFontFromMap(k string, m map[string]interface{}) (*truetype.Font, error)

func GetRequiredFontHintingFromMap

func GetRequiredFontHintingFromMap(k string, m map[string]interface{}) (font.Hinting, error)

func GetRequiredImageFromMap

func GetRequiredImageFromMap(k string, m map[string]interface{}) (*image.RGBA, error)

func GetRequiredIntFromMap

func GetRequiredIntFromMap(k string, m map[string]interface{}) (int, error)

func GetRequiredInterfaceFromMap

func GetRequiredInterfaceFromMap(k string, m map[string]interface{}) (interface{}, error)

func GetRequiredMapFromMap

func GetRequiredMapFromMap(k string, m map[string]interface{}) (map[string]interface{}, error)

func GetRequiredRegexpFromMap

func GetRequiredRegexpFromMap(k string, m map[string]interface{}) (*regexp.Regexp, error)

func GetRequiredSliceOfInterfacesFromMap

func GetRequiredSliceOfInterfacesFromMap(k string, m map[string]interface{}) ([]interface{}, error)

func GetRequiredStringFromMap

func GetRequiredStringFromMap(k string, m map[string]interface{}) (string, error)

func GetSliceOfInterfacesFromMap

func GetSliceOfInterfacesFromMap(k string, m map[string]interface{}) ([]interface{}, bool, error)

func GetStringFromMap

func GetStringFromMap(k string, m map[string]interface{}) (string, bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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