func integerPopulateAuxFieldsAndTags(ap *influxql.IntegerPoint, fieldsAndTags []string, fields models.Fields, tags models.Tags) { ap.Aux = make([]interface{}, len(fieldsAndTags)) for i, name := range fieldsAndTags { if f, ok := fields[name]; ok { ap.Aux[i] = f } else { ap.Aux[i] = tags[name] } } }