platform

package
v0.14.10 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package platform exposes a single source-of-truth Kind constant for the host platform. Used by SPA / Go / Kotlin sites that need to gate behavior cross-compile-safely. The companion JS module is web/src/lib/platform.js; the Kotlin one is android/.../Platform.kt.

Index

Constants

View Source
const Kind = "desktop"

Kind is the canonical platform identifier on this build. Desktop (Linux/macOS/Windows) and the Android phone build are the only two values today; future platforms add more build-tagged files.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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