Sha256: 4ff7ea78b7a38f5803e00ed533bc97d9f7c0b3d7cafa88f4b2249bdf2824db6a
Contents?: true
Size: 334 Bytes
Versions: 16
Compression:
Stored size: 334 Bytes
Contents
//go:build go1.16 // +build go1.16 package middleware import "runtime" func getNormalizedOSName() (os string) { switch runtime.GOOS { case "android": os = "android" case "linux": os = "linux" case "windows": os = "windows" case "darwin": os = "macos" case "ios": os = "ios" default: os = "other" } return os }
Version data entries
16 entries across 16 versions & 1 rubygems