Skip to content

Commit

Permalink
error messages prefixed with a lowercase letter
Browse files Browse the repository at this point in the history
  • Loading branch information
youpy committed Jun 27, 2022
1 parent bfcf6fa commit 2178f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (r *Reader) readFormat() (fmt *WavFormat, err error) {
fmtChunk := findChunk(riffChunk, "fmt ")

if fmtChunk == nil {
err = errors.New("Format chunk is not found")
err = errors.New("format chunk is not found")
return
}

Expand Down Expand Up @@ -207,7 +207,7 @@ func (r *Reader) readData() (data *WavData, err error) {

dataChunk := findChunk(riffChunk, "data")
if dataChunk == nil {
err = errors.New("Data chunk is not found")
err = errors.New("data chunk is not found")
return
}

Expand Down

0 comments on commit 2178f01

Please sign in to comment.