web

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: BSD-3-Clause Imports: 2 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.

Documentation

Overview

Package web embeds the built SPA bundle under dist/. The Svelte build emits its output here ; the Go binary picks it up at compile time via //go:embed so the deployment artifact is a single binary with no sibling static files to ship.

During V0.1 dist/ holds only a placeholder index.html ; V0.2 wires `task gen-web` to populate it with the real Svelte+CodeMirror+Yjs bundle.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DistFS

func DistFS() (fs.FS, error)

DistFS returns the dist/ subtree rooted at "/" so the HTTP file server can serve index.html as the root URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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