assets

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path(asset string) string

Path returns the absolute filepath of a file in the dcrlnd main module, relative to the assets package.

For example, to access the filepath of a sample-dcrlnd.conf file from the root of the main module, call Path("../sample-dcrlnd.conf").

This function is only usable when built without -trimpath and on the host the Go program was compiled on.

Types

This section is empty.

Jump to

Keyboard shortcuts

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