package
Version:
v0.17.0
Opens a new window with list of versions in this module.
Published: Aug 26, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func FromMap(m map[string]interface{}) []interface{}
FromMap converts a map of fields to a variadic key-value pair slice.
func ToMap(kvs []interface{}) map[string]interface{}
ToMap creates a map of key-value pairs from a variadic key-value pair slice.
The implementation bellow is from go-kit's JSON logger.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.