Fix occurreneces of initial uppercase in error strings.
This commit is contained in:
parent
e70cbd2045
commit
a25751e0b3
8 changed files with 16 additions and 16 deletions
|
|
@ -23,7 +23,7 @@ func splitToInts(str string, sep string) (ints []int, err error) {
|
|||
for _, part := range strings.Split(str, sep) {
|
||||
i, err := strconv.Atoi(part)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Could not split '%s' because %s is no int: %s", str, part, err)
|
||||
return nil, fmt.Errorf("could not split '%s' because %s is no int: %s", str, part, err)
|
||||
}
|
||||
ints = append(ints, i)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue