Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Refactor LocalConfig package #439

Open
noaabarki opened this issue Feb 24, 2022 · 0 comments
Open

Refactor LocalConfig package #439

noaabarki opened this issue Feb 24, 2022 · 0 comments
Labels
enhancement New feature or request up for grabs Looking for a contributor to take this task

Comments

@noaabarki
Copy link
Contributor

Describe the solution you'd like
Cleanup:

  1. Delete LocalConfig(empty struct). Instead, export GetLocalConfiguration function. Add comments to this function.
  2. Remove getConfigName and getConfigType. Use const instead.
  3. Add setter and getter for token key in the local configuration.
  4. Cover these updates with testing. Use pkg/extractor or pkg/httpClinet as reference.

Requirements
Golang basic level.

@noaabarki noaabarki added enhancement New feature or request up for grabs Looking for a contributor to take this task labels Feb 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request up for grabs Looking for a contributor to take this task
Projects
None yet
Development

No branches or pull requests

1 participant