A function that returns the device's current orientation would be handy to switch between portrait- and landscape-optimized user interfaces.
const (
OrientationLandscape = iota
OrientationPortrait
// ...
)
func Orientation() int
Thoughts? cc/ @crawshaw @hyangah