GithubHelp home page GithubHelp logo

Comments (4)

codingcn avatar codingcn commented on May 19, 2024

这个比较简单,用户自己接入即可。而且大部分人可能都不需要gorm gen,nunu layout保持精简比较好

from nunu.

hh-Ink avatar hh-Ink commented on May 19, 2024

在使用中的一些不方便

  1. nunu 生成model 没要找到表结构转为结构体的方法。在实际开发过程中这一步很耗时
  2. gen 生成的文件名和 nunu 生成的规则不一致(这表名为 ‘xx_xx’ 时)。无法覆盖nunu生成的model文件,每次需要手动把gen生成的结构体粘贴到nunu 生成的model

希望处理的方式
nunu 生成 model 可以同时生成表结构对应的 结构体

from nunu.

codingcn avatar codingcn commented on May 19, 2024

两者选其一,如果想自动化生成model结构,可以完全丢弃nunu create model,只需要依照gen的规则即可,golang中的文件名不会影响包的导入哈

from nunu.

hh-Ink avatar hh-Ink commented on May 19, 2024

好的 谢谢

from nunu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.