open default globalIsRelated

设置默认全局预加载为true
This commit is contained in:
xxjwxc
2020-06-07 21:09:11 +08:00
parent 16c12187f5
commit 50d7b764b6
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ import (
"github.com/jinzhu/gorm"
)
var globalIsRelated bool // 全局预加载
var globalIsRelated bool = true // 全局预加载
// prepare for other
type _BaseMgr struct {