embedfs

package
v0.24.13 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	*wrapfs.FS
}

func MustNew

func MustNew(fsys embed.FS, dir path.Relative) *FS

func New

func New(fsys embed.FS, dir path.Relative) (*FS, error)

New returns a wrapfs based on an embed.FS that resides in the given relative directory under the current working dir.

func (FS) Scheme

func (fsys FS) Scheme() string

Jump to

Keyboard shortcuts

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