Skip to content

Commit

Permalink
chore: color: add min/max todo note
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Aug 15, 2024
1 parent e6ad78c commit 8f6ac01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions color.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func xParseColor(s string) color.Color {
}

func getMaxMin(a, b, c float64) (max, min float64) {

Check failure on line 154 in color.go

View workflow job for this annotation

GitHub Actions / lint

named return max has same name as predeclared identifier (predeclared)
// TODO: use go1.21 min/max functions
if a > b {
max = a
min = b
Expand Down

0 comments on commit 8f6ac01

Please sign in to comment.