Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client/orm:将 models.go 和对应的测试代码挪过去 orm/internal/models 包里面 #1

Open
flycash opened this issue Jun 9, 2023 · 1 comment

Comments

@flycash
Copy link

flycash commented Jun 9, 2023

我先在开始整理 ORM 框架代码,准备为接下来功能完善和性能优化做准备。在这之前,需要完成两件事:

  • 重新调整 orm 的项目结构
  • 完善 ORM 的测试

现在我已经初步将和模型有关的的部分代码挪走了,但是还有一个 models.go 文件还没有挪动。

你要做的就是:

  • 将 models.go 和相应的测试挪过去 internal/models 里面
  • 如果 models.go 里面有任何外部可以访问的方法、包变量,那么留在本地,或者采用 type A = models.A 的形式暴露出来
@flycash
Copy link
Author

flycash commented Jun 9, 2023

合并请求直接发送到 beego/beego 这个项目里面,本仓库只用来发布 issue

@flycash flycash moved this to 🆕 New in 社区待解决问题 Jun 9, 2023
@flycash flycash moved this from 🆕 New to 🔖 Ready in 社区待解决问题 Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant