update golangci-lint

This commit is contained in:
aler9
2021-09-09 23:05:50 +02:00
parent b14aff952c
commit dbfc058f0c
12 changed files with 106 additions and 54 deletions

View File

@@ -214,7 +214,9 @@ func (res Response) Write(bw *bufio.Writer) error {
}
}
_, err := bw.Write([]byte(rtspProtocol10 + " " + strconv.FormatInt(int64(res.StatusCode), 10) + " " + res.StatusMessage + "\r\n"))
_, err := bw.Write([]byte(rtspProtocol10 + " " +
strconv.FormatInt(int64(res.StatusCode), 10) + " " +
res.StatusMessage + "\r\n"))
if err != nil {
return err
}