2
0
mirror of https://github.com/status-im/status-go.git synced 2025-01-12 07:35:02 +00:00
frank 3326362b90
optimised finding server cert ()
* optimised finding server cert

* make sure `close(done)` invoked only once

* remove sleep

* resolve IDE warning

* refactor for findServerCert
2023-10-18 14:17:49 +08:00

13 lines
185 B
Go

package common
import "runtime"
const (
AndroidPlatform = "android"
WindowsPlatform = "windows"
)
func OperatingSystemIs(targetOS string) bool {
return runtime.GOOS == targetOS
}