ui

package
v0.0.0-...-6e3bad2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Data embed.FS

By default, go embed does not embed files that starts with `_` that's why we need to use * Data Run 'make build-ui' first to generate the distribution of the ui pages.

View Source
var FS = func() fs.FS {
	fsys, err := fs.Sub(Data, "dist/admin")
	if err != nil {
		panic(err)
	}

	fsys = tryOrDefault{
		fileSystem:   fsys,
		fallbackFile: "index.html",
	}
	return fsys
}

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