web

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package web provides the embedded SvelteKit build. By default (no build tag) no assets are embedded, so `go build` and `go test` work without first building the frontend. Building with -tags embedassets (via `make build`) embeds web/build produced by the SvelteKit adapter-static output.

Index

Constants

This section is empty.

Variables

View Source
var Assets fs.FS

Assets is the embedded frontend filesystem, or nil when built without assets.

Functions

func HasAssets

func HasAssets() bool

HasAssets reports whether a real frontend build is embedded.

Types

This section is empty.

Jump to

Keyboard shortcuts

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