Skip to content

Conversation

@GlottalTrill
Copy link

Mostly linting config.go and getting myself familiar with the code base. Improving how configuration variables are used will make it easier to compartmentalize the other functions into internal modules.

  • Adds comments on variables for future Godoc support
  • Adds basic test on saveConfig
  • Moves setting of defaults to configInit
  • Removes unused function saveTempFile

I generated a few contact sheets but I don't have a comprehensive test suite. That might be the next thing I work on.

These comments can be referenced by godocs in the future.
Start of work to remove code from main(). Also making some default const if they are using in other files.
C was only used in a single function and doesn't need to be exported
It was only being reference in a function that was not being called.
Not the ideal place but gets the code out of main()
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.

1 participant