mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 02:00:24 +00:00
💩👌 make lint happy
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//nolint: asciicheck
|
||||
|
||||
package qqwife
|
||||
|
||||
import (
|
||||
@@ -359,8 +361,6 @@ func init() {
|
||||
})
|
||||
}
|
||||
|
||||
// nolint: asciicheck
|
||||
// nolint: asciicheck
|
||||
func (sql *婚姻登记) 判断CD(gid, uid int64, model string, cdtime float64) (ok bool, err error) {
|
||||
sql.Lock()
|
||||
defer sql.Unlock()
|
||||
@@ -386,8 +386,6 @@ func (sql *婚姻登记) 判断CD(gid, uid int64, model string, cdtime float64)
|
||||
return false, nil
|
||||
}
|
||||
|
||||
// nolint: asciicheck
|
||||
// nolint: asciicheck
|
||||
func (sql *婚姻登记) 记录CD(gid, uid int64, mode string) error {
|
||||
sql.Lock()
|
||||
defer sql.Unlock()
|
||||
@@ -399,8 +397,6 @@ func (sql *婚姻登记) 记录CD(gid, uid int64, mode string) error {
|
||||
})
|
||||
}
|
||||
|
||||
// nolint: asciicheck
|
||||
// nolint: asciicheck
|
||||
func (sql *婚姻登记) 离婚休妻(gid, wife int64) error {
|
||||
sql.Lock()
|
||||
defer sql.Unlock()
|
||||
@@ -409,8 +405,6 @@ func (sql *婚姻登记) 离婚休妻(gid, wife int64) error {
|
||||
return sql.db.Del(gidstr, "where target = "+wifestr)
|
||||
}
|
||||
|
||||
// nolint: asciicheck
|
||||
// nolint: asciicheck
|
||||
func (sql *婚姻登记) 离婚休夫(gid, husband int64) error {
|
||||
sql.Lock()
|
||||
defer sql.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user