1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

ci(chore): Fix stylings

This commit is contained in:
github-actions[bot] 2022-02-20 15:37:25 +00:00
parent 2709c5d448
commit b833193926

View File

@ -30,7 +30,7 @@ func EnsureBool(p interface{}, defaultVal bool) bool {
if !j.Exists() { if !j.Exists() {
return defaultVal return defaultVal
} }
switch j.Type { // nolint switch j.Type {
case gjson.True: case gjson.True:
return true return true
case gjson.False: case gjson.False: