The missing functions for map[string]interface{}
This package has various utility functions and wraps all the ugly details of dealing with interface{} type.
Feature Summary:
- Automatic Type Conversion from various formats to
int,float64,string, andtime.Time. stringtotime.Timeauto conversion accepts the following time formats:- ISO8601
- RFC1123/RFC2822
- Common Log Format
- Golang
time.Time.String()format. - Ruby
Time#to_sdefault format.
SliceandExceptto filter out keys.SelectandRejectto filter out key/value pairs using a custom function.Reduceto reduce your map using a custom function.- Parse
url.Valuesto make it easier to read HTTP form data. Even with nested hashes.