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

web

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package web holds the files the Go admin ships inside the binary: templates, CSS and JS (admin/) and the pinned third-party assets (vendor/, see tools/vendor). It lives under backend/ because go:embed cannot climb out of its package directory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Admin

func Admin() fs.FS

Admin is the admin tree: layouts/, partials/, pages/, css/, js/.

func Vendor

func Vendor() fs.FS

Vendor is the vendored third-party tree (vendor.json plus the files it pins).

Types

This section is empty.

Jump to

Keyboard shortcuts

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