Help us shape the future of Go! Take the 2026 Go Developer Survey

embedded

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package embedded re-exports the bundled web/dist + admin assets via embed.FS so that other packages can mount them without colliding with //go:embed's "no parent paths" rule.

The build pipeline copies the frontend output (web/dist) into this directory before `go build`. The two subdirectories below MUST exist at build time, even if empty — local dev keeps a `.keep` placeholder in each so `go build` doesn't error out before the frontend has been built.

Index

Constants

This section is empty.

Variables

FS contains every file under embed/admin (the Vue 3 admin SPA) and embed/web (the Web Component bundle that ships at /embed.js).

`all:` lets //go:embed include hidden files (e.g. `.keep` placeholders).

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