assets

package
v0.0.0-...-7d472e6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package assets provides access to embeded assets.

Index

Constants

This section is empty.

Variables

View Source
var HelloHTML string // Embedded HTML page for a simple greeting.

Functions

func AssetPath

func AssetPath() string

AssetPath returns the directory of the file that calls this function. It's useful for determining the path context in runtime, especially for locating assets relative to executing code. Returns an empty string if the caller's path cannot be determined.

Types

This section is empty.

Jump to

Keyboard shortcuts

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