mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-18 20:50:12 +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
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: golangci-lint
|
||||
- name: Run Lint
|
||||
uses: golangci/golangci-lint-action@master
|
||||
continue-on-error: true
|
||||
with:
|
||||
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{
|
||||
"group_id": groupId,
|
||||
"group_id": gid,
|
||||
"at_all": b,
|
||||
}
|
||||
return bdb.updateAtAll(bpMap)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user