options

package
v1.19.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 8 Imported by: 133

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dir

func Dir(name string) ([]string, error)

Dir returns all files from static or custom directory.

func Gitignore

func Gitignore(name string) ([]byte, error)

Gitignore reads the content of a specific gitignore from static or custom path.

func IsDynamic added in v1.11.5

func IsDynamic() bool

IsDynamic will return false when using embedded data (-tags bindata)

func Labels

func Labels(name string) ([]byte, error)

Labels reads the content of a specific labels from static or custom path.

func License

func License(name string) ([]byte, error)

License reads the content of a specific license from static or custom path.

func Locale

func Locale(name string) ([]byte, error)

Locale reads the content of a specific locale from static or custom path.

func Readme

func Readme(name string) ([]byte, error)

Readme reads the content of a specific readme from static or custom path.

func WalkLocales added in v1.17.4

func WalkLocales(callback func(path, name string, d fs.DirEntry, err error) error) error

WalkLocales reads the content of a specific locale from static or custom path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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