errors: emperror.dev/errors/utils/keyval Index | Files

package keyval

import "emperror.dev/errors/utils/keyval"

Index

Package Files

to_map.go

func ToMap Uses

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.

Package keyval imports 2 packages (graph) and is imported by 4 packages. Updated 2019-07-18. Refresh now. Tools for package owners.