WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove trailing zeros from parsed package versions because version comparison func version.Compare does not need trailing zeros to compare versions correctly.
Added .String() and .Clone() methods to the Version struct.
Used enumer to generate a .String() method for the ParsedAs type.
Changed the version.Compare func so that versions of different length compare as equal when both end in one or more segments of zeroes. In other words, 1.0 and 1.0.0 are now treated as equal.