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: restructure modules #25

Merged
merged 6 commits into from
Dec 7, 2021
Merged

refactor: restructure modules #25

merged 6 commits into from
Dec 7, 2021

Conversation

StewartJingga
Copy link
Contributor

@StewartJingga StewartJingga commented Nov 16, 2021

Changes:
bump go version from 1.13 to 1.16.

Restructured packages

  1. split models package into record, lineage and discovery.
  2. lineage and discovery are depending on record.
  3. record package is responsible for defining a record and storing.
  4. record package has context on tags and ownership as they are part of record's metadata.
  5. record package does not have context on lineage and discovery.

@StewartJingga StewartJingga added the enhancement New feature or request label Nov 16, 2021
@StewartJingga StewartJingga self-assigned this Nov 16, 2021
@StewartJingga StewartJingga marked this pull request as ready for review December 2, 2021 15:46
@mabdh mabdh merged commit b94e337 into main Dec 7, 2021
@mabdh mabdh deleted the revamp-package branch December 7, 2021 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor: move discovery context from main record model to its own package
2 participants