Re: [go-nuts] gomobile - detect OS information

2016-10-06 Thread Nigel Tao
On Tue, Oct 4, 2016 at 10:03 PM, Scot Newberry wrote: > I'm evaluating gomobile and building a simple application just display a > text both with OS name (Android, or iOS), OS release... You can at least discriminate Android vs iOS via the runtime.GOOS constant (https://golang.org/pkg/runtime/#pk

[go-nuts] gomobile - detect OS information

2016-10-04 Thread Scot Newberry
I'm evaluating gomobile and building a simple application just display a text both with OS name (Android, or iOS), OS release... I browse through the documents in https://godoc.org/golang.org/x/mobile but can't find out how to get those informations. So, are those informations available in gomo