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(refactor): move config to an internal package #78

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

wolf31o2
Copy link
Member

Minor refactoring of the code to move the config.go code into a config package, which we put under internal to indicate that it's not intended to be used outside this code.

  • Move config.go to internal/config and change package name to config
  • Import config package
  • Use config.LoadConfig() to load the initial configuration
  • Use config.GetConfig() to get configuration information

@wolf31o2 wolf31o2 merged commit db010f8 into main Sep 24, 2023
6 checks passed
@wolf31o2 wolf31o2 deleted the chore/refactor-config branch September 24, 2023 16:53
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.

2 participants