openbsd release

This commit is contained in:
Darien Raymond committed 2016-10-17 14:41:54 +02:00
1 parent 5a311cbe08
commit 67d597af95
3 files changed
+9 -1

No files matched your search

+4
View File
@@ -11,6 +11,7 @@ const (
MacOS = GoOS("darwin")
Linux = GoOS("linux")
FreeBSD = GoOS("freebsd")
OpenBSD = GoOS("openbsd")
UnknownOS = GoOS("unknown")
)
@@ -39,6 +40,9 @@ func parseOS(rawOS string) GoOS {
if osStr == "freebsd" {
return FreeBSD
}
if osStr == "openbsd" {
return OpenBSD
}
return UnknownOS
}