mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 05:30:07 +08:00
chore: make lint happy
This commit is contained in:
parent
209b2e8a1f
commit
1bb8e8b058
3
.github/workflows/push.yml
vendored
3
.github/workflows/push.yml
vendored
@ -13,9 +13,8 @@ jobs:
|
|||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: Run Lint
|
||||||
uses: golangci/golangci-lint-action@master
|
uses: golangci/golangci-lint-action@master
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
|
|
||||||
|
|||||||
@ -209,9 +209,9 @@ func init() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func changeAtAll(groupId int64, b int) (err error) {
|
func changeAtAll(gid int64, b int) (err error) {
|
||||||
bpMap := map[string]any{
|
bpMap := map[string]any{
|
||||||
"group_id": groupId,
|
"group_id": gid,
|
||||||
"at_all": b,
|
"at_all": b,
|
||||||
}
|
}
|
||||||
return bdb.updateAtAll(bpMap)
|
return bdb.updateAtAll(bpMap)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user