Skip to content

Commit

Permalink
feat: add SetDisableLog
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jin-gou committed Feb 20, 2025
1 parent 7a5fc28 commit fd9b2b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ func NewGenerator(cfg Config) *Generator {

return &Generator{
Config: cfg,
logger: log.Default(),
Data: make(map[string]*genInfo),
models: make(map[string]*generate.QueryStructMeta),

logger: log.Default(),
}
}

Expand Down

0 comments on commit fd9b2b4

Please sign in to comment.