code: func (record *attributesRecord) getAnnotations() map[string]string {
  	record.annotationsLock.RLock()
  	defer record.annotationsLock.RUnlock()
  
  	if record.annotations == nil {
  		return nil
  	}
  	cp := make(map[string]string, len(record.annotations))
  	for key, value := range record.annotations {
  		cp[key] = value
  	}
  	return cp
  }
docs: // getAnnotations implements privateAnnotationsGetter.It's a private method used
  // by WithAudit decorator.