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

chore: refactor tauri commands to be more shareable. #14

Merged
merged 3 commits into from
Jan 15, 2023

Conversation

davidhu2000
Copy link
Owner

@davidhu2000 davidhu2000 commented Jan 15, 2023

Lots of the get resource list commands are the same other than the type, refactoring so they all use the generic function to get the resource.

grouped everything under a src-tauri/resources folder. Seems cleaner than a bunch of mod.rs files for each resource

@davidhu2000 davidhu2000 merged commit 3ea390e into main Jan 15, 2023
@davidhu2000 davidhu2000 deleted the refactor-rust branch January 15, 2023 03:40
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