Closed ryysud closed 2 years ago
@cavaliercoder Could you consider this?
Hey, yes I'm open to this. There is already the Compare
public method, but perhaps you means comparison of strings?
@cavaliercoder Yes, I want to compare versions as string type.
Added CompareVersions
in v1.2.0
Thank you for the quick fix 👍 I am closing this issue.
Thank you for rewriting the original C implementation
rpmvercmp
in golang. Since this is a very useful function, is it possible to make it a public fucntion? https://github.com/cavaliergopher/rpm/blob/v1.1.1/version.go#L63