Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gf cli In gen dao, the clear parameter will affect the overwriteDao parameter, causing the custom content to be overwritten #2616

@hailaz

Description

@hailaz
gfcli:
  debug: true
  gen:
    dao:
      - link: "mysql:root:root123@tcp(127.0.0.1:3306)/gfdemo"
        clear: true
        overwriteDao: false

当使用以上配置,internal\dao\user.go文件仍然被覆盖,预期是不被覆盖

Metadata

Metadata

Assignees

Labels

bugIt is confirmed a bug, but don't worry, we'll handle it.doneThis issue is done, which may be release in next version.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions