feat: update

This commit is contained in:
Rogee
2025-05-23 22:59:18 +08:00
parent 1147ca4733
commit b4cc2347e5
2 changed files with 18 additions and 1 deletions

View File

@@ -10,8 +10,16 @@ import (
"go.ipao.vip/atom/container"
"go.ipao.vip/atom/contracts"
"go.ipao.vip/atom/opt"
. "github.com/go-jet/jet/v2/postgres"
)
type Cond func(BoolExpression) BoolExpression
func CondDefault() BoolExpression {
return BoolExp(Bool(true))
}
var db *sql.DB
{{- range . }}
func {{.PascalTable}}Model() *{{.PascalTable}} { return &{{.PascalTable}}{} }