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

Feature/error code 迁移到各自的包下 #67

Merged
merged 2 commits into from
Apr 3, 2024
Merged

Conversation

jefferyjob
Copy link
Owner

之前因为 error code 放置于项目根目录,当我们拉取其中一个工具箱时,因为改工具箱会依赖项目根目录的 error code,所以go会自动拉取仓库所有的代码,所以有以下的弊端

  1. 项目error code 设计存在冗余
  2. 不利于以后的error code 设计的扩展

所以本次将 error code 迁移到各自的工具箱下,便于维护和开发者的阅读

@jefferyjob jefferyjob merged commit 5a16cb3 into main Apr 3, 2024
3 checks passed
@jefferyjob jefferyjob deleted the feature/err_code branch April 3, 2024 03:00
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

Successfully merging this pull request may close these issues.

1 participant