test(service): stabilize race checks for gin-based tests

This commit is contained in:
Your Name
2026-05-21 12:16:57 +08:00
parent 6e66edbb09
commit 70ca4eb72c
34 changed files with 19 additions and 300 deletions

View File

@@ -0,0 +1,7 @@
package service
import "github.com/gin-gonic/gin"
func init() {
gin.SetMode(gin.TestMode)
}