vfsdata

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HybridFileSystem

type HybridFileSystem struct {
	LocalFS   http.FileSystem
	BundledFS http.FileSystem
}

func (HybridFileSystem) Open

func (hfs HybridFileSystem) Open(name string) (http.File, error)

type StaticPaths

type StaticPaths struct {
	Assets    HybridFileSystem
	Templates HybridFileSystem
}

func NewStaticPaths

func NewStaticPaths(c config.Config) *StaticPaths

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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