viewer

package
v0.2.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package viewer embeds the built standalone review viewer, the single-page app that the viewer package builds from its app directory. Only a release commit, the commit a v* tag points at, carries the built files, so go install of a tagged version needs nothing but Go. Any other checkout has an empty dist until "just viewer-build" runs, and a binary built from it answers with NotBuilt in place of the app.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assets

func Assets() fs.FS

Assets returns the built app with index.html at its root.

func NotBuilt

func NotBuilt(w http.ResponseWriter)

NotBuilt answers a request for an app this binary was built without, so the reader learns why there is no page and how to get a binary that has one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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