Skip to content
/ gmap Public

The missing functions for Golang map[string]interface{}

License

Notifications You must be signed in to change notification settings

atedja/gmap

Repository files navigation

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.

About

The missing functions for Golang map[string]interface{}

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages