Skip to content

Conversation

@deryrahman
Copy link
Member

@deryrahman deryrahman commented Mar 23, 2022

  • implement LoadClientConfig
  • implement LoadServerConfig
  • refactor config load in the corresponding command
  • add config field validation using ozzo-validation
  • refactor config loader in main.go

@deryrahman deryrahman marked this pull request as ready for review March 24, 2022 09:39
@deryrahman deryrahman linked an issue Mar 24, 2022 that may be closed by this pull request
@coveralls
Copy link

coveralls commented Mar 24, 2022

Pull Request Test Coverage Report for Build 2088475487

  • 111 of 137 (81.02%) changed or added relevant lines in 6 files are covered.
  • 3 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.07%) to 74.405%

Changes Missing Coverage Covered Lines Changed/Added Lines %
config/telemetry.go 0 1 0.0%
config/loader.go 64 69 92.75%
config/validation.go 40 49 81.63%
config/config_client.go 0 11 0.0%
Files with Coverage Reduction New Missed Lines %
config/loader.go 1 92.68%
config/config.go 2 0%
Totals Coverage Status
Change from base Build 2088084344: 0.07%
Covered Lines: 5596
Relevant Lines: 7521

💛 - Coveralls

@deryrahman deryrahman merged commit eb9676a into main Apr 4, 2022
@deryrahman deryrahman deleted the split-config branch April 4, 2022 07:59
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.

Split the config for server and client

6 participants