embed

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListAllDirs

func ListAllDirs(path string, efs embed.FS) (paths []string, err error)

func ListAllFiles

func ListAllFiles(path string, efs embed.FS) (paths []string, err error)

func ListDirs

func ListDirs(path string, efs embed.FS) (paths []string, err error)

func ListFiles

func ListFiles(path string, efs embed.FS) (paths []string, err error)

func Mime

func Mime(path string, efs embed.FS) (mime string, err error)

func Sha256 added in v0.5.1

func Sha256(path string, efs embed.FS) (shasum string, err error)

func Shasum

func Shasum(path string, efs embed.FS) (shasum string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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