window

command
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Window Example

This example is a demonstration of the Windows API.

Running on macOS with private APIs

This example calls OpenDevTools(). On macOS, opening the inspector from code requires the private_mac_apis build tag. Without it, that call is a no-op; the rest of the example still runs.

From this example directory, run:

go run -tags private_mac_apis .

Omit -tags private_mac_apis to run with public macOS APIs only. The tag has no effect on Windows, Linux, iOS, or Android. See the shared private API guide for production builds and fallback details.

Running the example

To run the example, simply run the following command:

# Public macOS APIs only; private effects and inspector opening are disabled.
go run .

Status

Platform Status
Mac
Windows Working
Linux

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL