// GetOS validates/returns the current operating system if supported and panics otherwise
GetOS validates/returns the current operating system if supported and panics otherwise
// GetOS validates / returns the current operating system if supported and panics otherwise
func GetOS() string {
	switch runtime.GOOS {
	case "darwin":
		return "darwin"
	case "linux":
		return "linux"
	case "windows":
		return "windows"
	}
	panic(fmt.Sprintf("unsupported OS %s", runtime.GOOS))
}
func GetOS ( ) string { switch runtime . GOOS { case " " : return " " case " " : return " " case " " : return " " } panic ( fmt . Sprintf ( " " , runtime . GOOS ) ) }
GetOS validates/returns the current operating system if supported and panics otherwise
GetOS validates / returns the current operating system if supported and panics otherwise