Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Integralist
Copy link
Collaborator

@Integralist Integralist commented Feb 7, 2023

The reason the change set is so large is that the struct being moved happened to be consumed in every single file.

Changes:

  • I moved the config.Data struct type to a global package as it wasn't exclusive to configuration.
  • I moved the config.Source enum type to a lookup package as it wasn't exclusive to configuration.
  • I renamed all references to global data and manifest data to g and m respectively.
  • I renamed config.Flag to global.Flags (plural).

@Integralist Integralist added the clean-up Code clean-up or refactor label Feb 7, 2023
@Integralist Integralist changed the title refactor: move global type to a separate package refactor: move global struct type and config.Source type into separate packages Feb 7, 2023
@Integralist Integralist changed the title refactor: move global struct type and config.Source type into separate packages refactor: move global struct and config.Source types into separate packages Feb 7, 2023
@Integralist Integralist merged commit 342a853 into main Feb 7, 2023
@Integralist Integralist deleted the integralist/refactor branch February 7, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean-up Code clean-up or refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants