assets

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: ISC 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 dcrwallet main module, relative to the assets package.

For example, to access the filepath of a sample-dcrwallet.conf file from the root of the main module, call Path("../sample-dcrwallet.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