Add runtime.GOOS

This commit is contained in:
Ayke van Laethem
2018-08-30 05:48:16 +02:00
parent 82d0d70ba2
commit 15f62b29cf
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
// +build js
package runtime
const GOOS = "js"
+5
View File
@@ -0,0 +1,5 @@
// +build linux
package runtime
const GOOS = "linux"