manifests

package
v0.0.0-...-010ac7f Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stat

func Stat(path string) (os.FileInfo, error)

Stat returns a FileInfo object for the given path.

Types

type AssetsRepo

type AssetsRepo struct {
	Root string
}

AssetsRepo provides templates through assets

func NewRepo

func NewRepo(component string) *AssetsRepo

func (*AssetsRepo) GetFilesRecursive

func (a *AssetsRepo) GetFilesRecursive(path string) ([]string, error)

func (*AssetsRepo) ReadFile

func (a *AssetsRepo) ReadFile(path string) ([]byte, error)

ReadFile reads the content of compiled in files at path and returns a buffer with the data.

Jump to

Keyboard shortcuts

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