acmestack / gorm-plus

Gorm-plus是基于Gorm的增强版,类似Mybatis-plus语法。Gorm-plus is based on an enhanced version of Gorm, similar to Mybatis-plus syntax.
https://github.com/acmestack/gorm-plus/wiki
Apache License 2.0
276 stars 41 forks source link

fix struct nested reflection #40

Closed aixj1984 closed 1 year ago

aixj1984 commented 1 year ago

38 这个问题只解决了一层嵌套

现在修改代码,通过递归方式,解决多层嵌套的问题

github-actions[bot] commented 1 year ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

afumu commented 1 year ago
  • With pull requests:

    • Open your pull request against main
    • Your pull request should have no more than two commits, if not you should squash them.
    • You should pass all tests by go test -v ./... at the project root path in local.
    • It should pass all tests in the available continuous integration systems such as GitHub Actions.
    • You should add/modify tests to cover your proposed code changes.
    • If your pull request contains a new feature, please document it on the README.

38 这个问题只解决了一层嵌套 现在修改代码,通过递归方式,解决多层嵌套的问题

good!

afumu commented 1 year ago

@aixj1984 请在评论下面回复这句话哈

image

aixj1984 commented 1 year ago

I have read the CLA Document and I hereby sign the CLA