Masterminds / semver

Work with Semantic Versions in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Be able to print out Constraints to string

alenkacz opened this issue · comments

Right now, it's not possible for error messages etc. to print out the constraint itself. It would be good to have inverse function to parseConstraint and be able to get back the constraint as printable string.

@mattfarina if you agree with this feature I can contribute the solution to that

@alenkacz i like the idea. Go for it.

With the merger of #117 this is now available. It will be in the release of v3

Note, if someone wants to backport this to the v1 I would be open to it.