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

Unmarshal & Updates #3

Merged
merged 5 commits into from
Jul 16, 2024
Merged

Unmarshal & Updates #3

merged 5 commits into from
Jul 16, 2024

Conversation

syntaqx
Copy link
Owner

@syntaqx syntaqx commented Jul 16, 2024

  • Drops github.com/joho/godotenv; It should be used directly unless I implement my own, 0 dependencies
  • Adds more helper functions and cleans up usage
  • Provides Unmarshal to populate structs from tags
  • Provides Marhsal to populate the environment from a struct (idk, seemed fun)
  • More test coverage

Copy link

codecov bot commented Jul 16, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Copy link
Contributor

@john-peterson-g17 john-peterson-g17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@syntaqx Really like the Unmarshal function with the struct tags. That will make getting config super easy and the tags make it very clear. :)

@syntaqx syntaqx merged commit 900ba4a into main Jul 16, 2024
3 checks passed
@syntaqx syntaqx deleted the unmarshal branch July 16, 2024 17:31
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.

2 participants