update golangci-lint (#554)

This commit is contained in:
Alessandro Ros
2024-04-28 18:20:25 +02:00
committed by GitHub
parent 2e32d1bf6e
commit 363b48e632
16 changed files with 1087 additions and 1062 deletions

View File

@@ -114,7 +114,7 @@ func (s *SessionDescription) unmarshalOrigin(value string) error {
var tmp string
tmp, value = value[i+1:], value[:i]
if i := strings.Index(tmp, "."); i >= 0 {
if i = strings.Index(tmp, "."); i >= 0 {
tmp = tmp[:i]
}
tmp = strings.TrimPrefix(tmp, "-")