templates

package
v1.11.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyAsset

func CopyAsset(project, dir, root, name string) error

RestoreAsset restores an asset under the given directory.

func CopyAssets

func CopyAssets(project, dir, root, name string) error

RestoreAssets restores an asset under the given directory recursively.

func CopyDir

func CopyDir(project, dir, root string) error

CopyDir restores assets to the given directory recursively.

Types

type HTTPFileServer

type HTTPFileServer struct {
	// contains filtered or unexported fields
}

func HTTPFS

func HTTPFS(asset string) *HTTPFileServer

func (*HTTPFileServer) Open

func (f *HTTPFileServer) Open(name string) (http.File, error)

Open implements http.FileSystem interface.

Jump to

Keyboard shortcuts

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