showcase

command
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 27 Imported by: ? 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.

Documentation

Overview

Command showcase is Tango's demo app: a WebView page (plain HTML/CSS/JS, no npm) that shows the IPC layer (bound calls, errors, events, streams with back-pressure and cancel), system capabilities reached from the page through jsapi (window, clipboard, dialogs, notifications, displays, theme), and the native side driven from Go (tray icon, app menu, notifications, theme following).

go run ./examples/showcase          # interactive
go run ./examples/showcase -smoke   # runs every unattended check, prints PASS/FAIL, exits

In -smoke mode the page runs its checks and reports them with the "done" event; checks that need a person (dialogs, menus, tray clicks) are only listed as skipped. Notifications need a .app bundle on macOS: from a bare binary notify fails with a clear error, which the smoke run reports as a skip. TANGO_SMOKE_TIMEOUT_SCALE=3 stretches the timeout for slow machines.

Jump to

Keyboard shortcuts

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