Code cleanup

This commit is contained in:
2024-04-05 20:25:44 +02:00
parent 11cfa5a1eb
commit 16d569c457
5 changed files with 14 additions and 14 deletions

View File

@ -46,7 +46,7 @@ func ColorV1(hash [16]byte) color.RGBA {
} else if b > r && b > g {
b += 48
}
return color.RGBA{r, g, b, 255}
return color.RGBA{R: r, G: g, B: b, A: 255}
}
func ColorV2(hash [16]byte) color.RGBA {