Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor contents of api package into base and peer subpackages #560

Open
mansam opened this issue Nov 15, 2023 · 0 comments
Open

Refactor contents of api package into base and peer subpackages #560

mansam opened this issue Nov 15, 2023 · 0 comments
Labels
tech-debt This will not be worked on

Comments

@mansam
Copy link
Collaborator

mansam commented Nov 15, 2023

base subpackage should contain things like the BaseHandler (as base.Handler), context, constants, etc that are used by other handlers. Allows better organization of subresource handlers and sharing between handlers.

  • base
    • context.go
    • handler.go
  • application
    • handler.go
    • tags.go
    • facts.go
  • reports
    • etc
@mansam mansam added the tech-debt This will not be worked on label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant