func (a *Attrs) Attrs() map[string]interface{} {
	a.attrsLock.RLock()
	defer a.attrsLock.RUnlock()

	attrs := make(map[string]interface{})
	for hash, val := range a.attrs {
		key, _ := getHashAttr(hash)
		attrs[key] = val
	}
	return attrs
}
func (a *Attrs) Attrs() map[string]interface{} {
	a.attrsLock.RLock()
	defer a.attrsLock.RUnlock()

	attrs := make(map[string]interface{})
	for hash, val := range a.attrs {
		key, _ := getHashAttr(hash)
		attrs[key] = val
	}
	return attrs
}
func ( a * Attrs ) Attrs ( ) map [ string ] interface { } { a . attrsLock . RLock ( ) defer a . attrsLock . RUnlock ( ) attrs := make ( map [ string ] interface { } ) for hash , val := range a . attrs { key , _ := getHashAttr ( hash ) attrs [ key ] = val } return attrs }
// Attrs will return a map of the attributes added to the struct.
Attrs will return a map of the attributes added to the struct .