code: func GetOSVersion() OSVersion {
  	var err error
  	osv := OSVersion{}
  	osv.Version, err = windows.GetVersion()
  	if err != nil {
  		// GetVersion never fails.
  		panic(err)
  	}
  	osv.MajorVersion = uint8(osv.Version & 0xFF)
  	osv.MinorVersion = uint8(osv.Version >> 8 & 0xFF)
  	osv.Build = uint16(osv.Version >> 16)
  	return osv
  }
docs: // GetOSVersion gets the operating system version on Windows. Note that
  // docker.exe must be manifested to get the correct version information.