mirror of
https://github.com/pcvolkmer/idicon.git
synced 2025-07-03 04:12:54 +00:00
Code cleanup
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user