1 2 3 4 5 6 7
package log type Fields map[string]interface{} func (f Fields) ToMap() map[string]interface{} { return map[string]interface{}(f) }