mirror of
https://github.com/yusing/godoxy.git
synced 2025-07-02 05:14:25 +02:00
fix(notif): stack overflow due to self recursion
This commit is contained in:
parent
9d712b91ff
commit
24f949f053
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const (
|
|||
)
|
||||
|
||||
func (c Color) HexString() string {
|
||||
return fmt.Sprintf("#%x", c)
|
||||
return fmt.Sprintf("#%x", uint(c))
|
||||
}
|
||||
|
||||
func (c Color) DecString() string {
|
||||
|
|
Loading…
Add table
Reference in a new issue