variables

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TryGetBool

func TryGetBool(vars map[string]interface{}, name string) (bool, bool)

TryGetBool tries to fetch given variable from map and return it as a bool, also returning whether the variable was successfully found and converted.

func TryGetString

func TryGetString(vars map[string]interface{}, name string) (string, bool)

TryGetString tries to fetch given variable from map and return it as a string, also returning whether the variable was successfully found and converted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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