mt icon indicating copy to clipboard operation
mt copied to clipboard

Refactor save config

Open GlottalTrill opened this issue 1 year ago • 0 comments

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.

GlottalTrill avatar May 22 '23 11:05 GlottalTrill