Masterminds / semver

Work with Semantic Versions in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Constraints marshaller

aegershman opened this issue · comments

disclaimer: I'm new to golang, might be doing something wrong or missing something in front of me

Could Constraints include a default json/yaml marshaller similar to #44 so that Constraints could be used directly when unmarshalling into a struct without writing a custom one?

Feel free to close whenever. Thanks for your time 👍

just stumbled across this: Was there a specific reason this was closed?

If not I would like to contribute to this. This functionality would be nice to have for my use-case and before I wrap the constraint type and implement a custom marshaller in my code, I think it makes more sense to contribute it upstream :)

@SimonTheLeg the only reason I closed this was to trim my personal backlog of open issues. I'll re-open this, and please feel free to open a new issue where you're the original poster / or do whatever the maintainers prefer for issue management 👍

Hi from the future! Closing to prune dead PRs