mirror of
https://codeberg.org/Codeberg/avatars.git
synced 2023-08-10 21:12:50 +03:00
fix fmt
This commit is contained in:
parent
cb12883b6f
commit
88ab3449de
2
main.go
2
main.go
@ -204,7 +204,7 @@ func (c *RGB) darkerThan(ref RGB, delta uint8) string {
|
||||
}
|
||||
|
||||
func (c RGB) withAlpha(alpha float64) string {
|
||||
return fmt.Sprintf("#%02x%02x%02x", c.r, c.g, c.b, uint8(255*alpha))
|
||||
return fmt.Sprintf("#%02x%02x%02x%02x", c.r, c.g, c.b, uint8(255*alpha))
|
||||
}
|
||||
|
||||
func maleAvatar(seed uint64) string {
|
||||
|
Loading…
Reference in New Issue
Block a user