package main import "go/version"
func main() {
var val int
val = version.Compare("go2.00.1", "go1.0.0")
print(val) // -1
}
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/cf152fe7-61bb-48f8-bcb4-88644d701d8fn%40googlegroups.com.
