//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 }