mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-18 21:19:44 +00:00
chore: make golang-ci happy
This commit is contained in:
parent
290404ba57
commit
ee801af742
@ -14,8 +14,7 @@ const (
|
|||||||
|
|
||||||
// String returns the string format of UserSettingKey type.
|
// String returns the string format of UserSettingKey type.
|
||||||
func (key UserSettingKey) String() string {
|
func (key UserSettingKey) String() string {
|
||||||
switch key {
|
if key == UserSettingLocaleKey {
|
||||||
case UserSettingLocaleKey:
|
|
||||||
return "locale"
|
return "locale"
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user