desktop

package
v0.2.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package desktop holds the desktop app frontend assets. This file is the default build: it declares the same API as assets_embed.go but embeds nothing, so the package compiles without desktop/dist present.

That matters because desktop/dist is a Vite build artifact that is not checked in. If //go:embed referenced it unconditionally, every `go build ./...`, `go vet ./...`, and `go test ./...` would fail on a fresh clone until someone built the frontend.

Real desktop binaries are built with `-tags desktop`, which selects assets_embed.go instead.

Index

Constants

View Source
const Embedded = false

Embedded reports whether this binary carries the frontend assets. Callers should refuse to start a UI when this is false rather than serve a blank window.

Variables

View Source
var Assets embed.FS

Assets is empty in this build. See assets_embed.go for the real asset bundle.

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