bundled

package
v0.0.0-...-4afba3a Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

func Asset(basename string) string

Asset returns either the bundled asset with the given name or the injected version (see the -inject_assets flag).

func AssetsFiltered

func AssetsFiltered(cb func(string) bool) map[string]string

func Inject

func Inject(dir string) error

Inject overwrites bundled assets with versions from dir. Not all assets must be overwritten at once, i.e. just supplying a modified header.tmpl is perfectly fine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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