chore: make golang-ci happy

This commit is contained in:
Steven 2022-09-14 08:35:29 +08:00
parent 290404ba57
commit ee801af742

View File

@ -14,8 +14,7 @@ const (
// String returns the string format of UserSettingKey type.
func (key UserSettingKey) String() string {
switch key {
case UserSettingLocaleKey:
if key == UserSettingLocaleKey {
return "locale"
}
return ""