Add documentation for platform options and expose to Godoc (#266)

This commit is contained in:
djdv
2021-06-10 07:49:49 -04:00
committed by GitHub
parent 82b10ec284
commit 8eb6809ed2
2 changed files with 32 additions and 27 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func versionCompare(v1, v2 []int) (int, error) {
return 0, nil
}
// parseVersion will parse any integer type version seperated by periods.
// parseVersion will parse any integer type version separated by periods.
// This does not fully support semver style versions.
func parseVersion(v string) []int {
version := make([]int, 3)