mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 09:48:32 +02:00
style: fix some golangci-lint warnings
This commit is contained in:
@@ -9,9 +9,10 @@ import (
|
||||
|
||||
type (
|
||||
IconURL struct {
|
||||
FullURL *string `json:"value,omitempty"` // only for absolute/relative icons
|
||||
Extra *IconExtra `json:"extra,omitempty"` // only for walkxcode/selfhst icons
|
||||
IconSource `json:"source"`
|
||||
|
||||
FullURL *string `json:"value,omitempty"` // only for absolute/relative icons
|
||||
Extra *IconExtra `json:"extra,omitempty"` // only for walkxcode/selfhst icons
|
||||
}
|
||||
|
||||
IconExtra struct {
|
||||
|
||||
@@ -33,9 +33,10 @@ type (
|
||||
Tag string `json:"-"`
|
||||
}
|
||||
IconMetaSearch struct {
|
||||
*IconMeta
|
||||
|
||||
Source IconSource `json:"Source"`
|
||||
Ref string `json:"Ref"`
|
||||
*IconMeta
|
||||
|
||||
rank int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user