refactor: 根据gorm的特点,去除wal删除代码并使用线程安全的文件锁进行多开限制。 #37
Annotations
3 errors
Test & Lint:
main.go#L417
exitAfterDefer: log.Fatalf will exit, and `defer func(sealLock *flock.Flock){...}(...)` will not run (gocritic)
|
Test & Lint:
main.go#L228
fmt.Errorf can be replaced with errors.New (perfsprint)
|
Test & Lint
issues found
|