# HG changeset patch # User Sascha L. Teichmann # Date 1543162355 -3600 # Node ID 275ead19b9fd001674ee0c2a117ca43d953ad67f # Parent 785f1426442626c7fc2a31efce50acf846c764d7 More on following the rules for error messages to make golint happy. diff -r 785f14264426 -r 275ead19b9fd pkg/models/sr.go --- a/pkg/models/sr.go Sun Nov 25 17:11:13 2018 +0100 +++ b/pkg/models/sr.go Sun Nov 25 17:12:35 2018 +0100 @@ -99,7 +99,7 @@ case err != nil: errs = append(errs, err) case !b: - errs = append(errs, errors.New("Unexpected bottleneck")) + errs = append(errs, errors.New("unexpected bottleneck")) } err = conn.QueryRowContext(ctx, @@ -111,7 +111,7 @@ errs = append(errs, err) case b: errs = append(errs, - errors.New("Sounding result for this date already exists.")) + errors.New("sounding result for this date already exists")) } return errs