Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.04 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.04 KB

gmap

GoDoc Build Status

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, and time.Time.
  • string to time.Time auto conversion accepts the following time formats:
  • Slice and Except to filter out keys.
  • Select and Reject to filter out key/value pairs using a custom function.
  • Reduce to reduce your map using a custom function.
  • Parse url.Values to make it easier to read HTTP form data. Even with nested hashes.