basedir

package
v0.0.0-...-f3e401e Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package basedir finds templates and static files associated with a binary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(pkg string) string

Find locates a directory for the given package. pkg should be the directory that contains the templates and/or static directories. If pkg cannot be found, an empty string will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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