mirror of
https://github.com/aykhans/slash-e.git
synced 2025-09-03 16:13:34 +00:00
chore: make golang-ci happy
This commit is contained in:
@@ -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 ""
|
||||||
|
Reference in New Issue
Block a user