github.com/secoba/wails/v2@v2.6.4/internal/system/operatingsystem/os.go (about) 1 package operatingsystem 2 3 // OS contains information about the operating system 4 type OS struct { 5 ID string 6 Name string 7 Version string 8 } 9 10 // Info retrieves information about the current platform 11 func Info() (*OS, error) { 12 return platformInfo() 13 }