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

基于gin-admin如何编写自己的业务代码 #116

Open
ymping opened this issue Oct 4, 2021 · 1 comment
Open

基于gin-admin如何编写自己的业务代码 #116

ymping opened this issue Oct 4, 2021 · 1 comment

Comments

@ymping
Copy link

ymping commented Oct 4, 2021

基于gin-admin如何编写自己的业务代码呢?官方有推荐的方式嘛?

目前我的代码直接写到了internal/app/目录下面(或使用gin-admin-cli生成),但这样和 gin-admin 构架的代码耦合的很严重。如果有新版本需要升个级的话,会很麻烦。

@gowk
Copy link

gowk commented Jul 28, 2022

自己的业务internal/下面新开一个包来写?参考app的目录结构?
不知道这样对不对

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants