💩👌 make lint happy

This commit is contained in:
源文雨
2022-12-10 14:11:09 +08:00
parent d8bc336006
commit adfa9f9e0f
6 changed files with 12 additions and 34 deletions

View File

@@ -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()