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

chore(config/env): minor refactor #1232

Merged
merged 3 commits into from Jul 23, 2021
Merged

Conversation

xuyang2
Copy link
Contributor

@xuyang2 xuyang2 commented Jul 23, 2021

提取 load(envStrings []string) 方法以便单元测试

Merge 时请合并提交历史

@Windfarer
Copy link
Member

测试里可以用github.com/stretchr/testify/assert包来判断相等吗?尽量避免引入新的依赖?

@xuyang2
Copy link
Contributor Author

xuyang2 commented Jul 23, 2021

@Windfarer 换成 reflect.DeepEqual

@tonybase tonybase merged commit 77d2cfb into go-kratos:main Jul 23, 2021
elvizlai pushed a commit to elvizlai/kratos that referenced this pull request Aug 2, 2021
* chore(config/env): minor refactor
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.

None yet

3 participants