Skip to content

Refactor beer styles, hops and yeasts #111

Description

@drodil

Hide the loading of data behind a function for example

fn get_beer_styles(criteria: Option<Criteria>) -> Vec<BeerStyle>

Move the filtering by criteria to these functions from the rustybeer-server and rustybeer-cli which both do the same thing for the list based on the criteria.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersrefactorSomething to write again, better this time

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions