You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
311 B

package operaSystem
import (
"fmt"
"testing"
)
func TestOS_GOOS(t *testing.T) {
fmt.Println(operaSystem.GOOS())
fmt.Println(operaSystem.GOGC())
}
func TestOperaSystem_IsPlatform(t *testing.T) {
fmt.Println(operaSystem.IsLinux())
fmt.Println(operaSystem.IsWindows())
fmt.Println(operaSystem.IsMac())
}