clr-installer icon indicating copy to clipboard operation
clr-installer copied to clipboard

Refactor "gui" package dir structure to match "tui" dir structure

Open reaganlo opened this issue 5 years ago • 0 comments

The "gui" package has some sub packages that are leading to duplicate code. Remove the ambiguous sub packages and make the directory structure of the "gui" package similar to the "tui" package.

This will make the code more clean and concise especially before we add more pages to the GUI to make it feature parity with TUI.

  • Remove the sub package "pages" and move its contents within the main "gui" package.
  • Rename the "init.go" file to "common.go" similar to that in "tui".
  • Remove the sub package "common" and move its contents to the "common.go" file.

reaganlo avatar Jun 26 '19 20:06 reaganlo