You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: reporting.go
    path of file: ./repos/corteza/server/system/reporting
    
    the code of the file until where you have to start completion: // Package reporting implements utilities for working with system reports and
// DAL pipelines
//
// The package exists primarily for making the system service codebase smaller
// and prep
    
func modelAttributes(pr modelFinder, step types.ReportStepLoad, mfr dal.ModelRef) []dal.AttributeMapping {
	// All of the attributes
	attrs, err := getModelAttrs(pr, mfr)
	if err != nil {
		return nil
	}

	return attrToMapping(attrs...)
}