Documentation
¶
Index ¶
- Variables
- func AsBool(v interface{}) (bool, bool)
- func AsBoolArray(values ...interface{}) ([]bool, bool)
- func AsDatetime(v interface{}) (time.Time, bool)
- func AsDatetimeArray(values ...interface{}) ([]time.Time, bool)
- func AsFloat(v interface{}) (float64, bool)
- func AsFloatArray(values ...interface{}) ([]float64, bool)
- func AsInt(v interface{}) (int64, bool)
- func AsIntArray(values ...interface{}) ([]int64, bool)
- func AsString(v interface{}) (string, bool)
- func AsStringArray(values ...interface{}) ([]string, bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DateFormats are our valid date formats DateFormats = []string{ "2006-01-02", "2006-01-02 15:04:05", time.RFC3339, "02/01/2006", "02/01/2006 15:04:05", "20060102", "20060102150405", } )
Functions ¶
func AsBoolArray ¶
AsBoolArray to convert as an array of bool
func AsDatetime ¶
AsDatetime to convert as datetime (time.Time)
func AsDatetimeArray ¶
AsDatetimeArray to convert as an array of datetime
func AsFloatArray ¶
AsFloatArray to convert as an array of float64
func AsIntArray ¶
AsIntArray to convert as an array of int64
func AsStringArray ¶
AsStringArray to convert as an array of string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.

