- Simplify a switch-case by moving a common condition above it. - Remove a superfluous error-check: `strconv.ParseInt` returns `0` when passed an empty string. |
||
|---|---|---|
| .. | ||
| media.go | ||
| media_test.go | ||
- Simplify a switch-case by moving a common condition above it. - Remove a superfluous error-check: `strconv.ParseInt` returns `0` when passed an empty string. |
||
|---|---|---|
| .. | ||
| media.go | ||
| media_test.go | ||