assets

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package assets embeds the livetemplate client browser bundle (JS + CSS) so prereview ships as a self-contained binary with no CDN dependency.

The files in client/ are populated by `make sync-client`, which copies them from ../../../client/{dist/livetemplate-client.browser.js, livetemplate.css}. They are gitignored — fresh clones must run `make sync-client` before `go build`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientCSS

func ClientCSS() []byte

ClientCSS returns the embedded livetemplate shared stylesheet.

func ClientJS

func ClientJS() []byte

ClientJS returns the embedded livetemplate client browser bundle.

Types

This section is empty.

Jump to

Keyboard shortcuts

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