package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 26, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Dict(values ...interface{}) (map[string]interface{}, error)
Dict allows to send more than one variable into a template.
func FieldInStruct(data interface{}, field string) bool
FieldInStruct checks if variable is defined in a struct.
func IsMap(sth interface{}) bool
IsMap checks if some variable is a map
func IsSlice(sth interface{}) bool
IsSlice checks if some variable is a slice
StringInSlice checks if a slice contains a string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.