mirror of
https://github.com/status-im/status-go.git
synced 2025-01-10 14:47:06 +00:00
3326362b90
* optimised finding server cert * make sure `close(done)` invoked only once * remove sleep * resolve IDE warning * refactor for findServerCert
13 lines
185 B
Go
13 lines
185 B
Go
package common
|
|
|
|
import "runtime"
|
|
|
|
const (
|
|
AndroidPlatform = "android"
|
|
WindowsPlatform = "windows"
|
|
)
|
|
|
|
func OperatingSystemIs(targetOS string) bool {
|
|
return runtime.GOOS == targetOS
|
|
}
|