web

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package web embeds the built Vite web app into the Go binary.

Run `make web` (or `npm run build` in web/) to populate web/dist before building the Go binary. During development the Vite dev server runs separately on :5173 and proxies /api to the Go server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assets

func Assets() fs.FS

Assets returns the embedded web assets rooted at dist/. Returns nil if the dist directory wasn't populated at build time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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