virtualfs

package
v0.0.0-...-861ca8c Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 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 FS

type FS map[string]*file

FS []byte to fs.FS

func NewFS

func NewFS(info map[string][]byte) *FS

NewFS []byte -> fs.FS, no copy

func (FS) Open

func (fs FS) Open(name string) (fs.File, error)

Open get virtual fs.File

Jump to

Keyboard shortcuts

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