Indent multi-line messages/errors.

This commit is contained in:
Alec Thomas
2018-06-20 12:44:18 +10:00
parent 9a68d32e72
commit 3a2f3eebdd
4 changed files with 25 additions and 5 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ func flattenedFields(v reflect.Value) (out []flattenedField) {
if !fv.CanSet() {
continue
}
out = append(out, flattenedField{ft, fv})
out = append(out, flattenedField{field: ft, value: fv})
}
return
}