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

Abstracted store #58

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Abstracted store #58

wants to merge 3 commits into from

Conversation

botto
Copy link
Collaborator

@botto botto commented Jul 25, 2021

Started an inital idea for abstracted store.

I'm going to implement a sqlite interface as well to check that this works when we add more backends, but I don't think there be hidden dragons in this design.

wdyt @naggie

This change only includes a json file store backend and a generic
interface future stores can implement to create additional store
backends
@botto botto requested a review from naggie July 25, 2021 17:15
@botto
Copy link
Collaborator Author

botto commented Jul 26, 2021

Not sure what happend to the build here, I'm not able to replicate this locally so a little unsure what's happening.

@naggie
Copy link
Owner

naggie commented Sep 22, 2021

Could you remove the vendor changes from this PR please? It's a bit impossible to review otherwise.

Maybe we should remove the vendor dir altogether, relying on go.mod etc.


Thinking about this -- I'm not against the idea. dsnet is supposed to be a simple command and this margins on scope creep; however, as config is treated separately already I think it's not a huge change to the architecture.

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.

None yet

2 participants