Skip to content

Take a filesystem from go:embed and unpack it to a directory someplace.

License

Notifications You must be signed in to change notification settings

eyedeekay/unembed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unembed

Take a filesystem from go:embed and unpack it to a directory someplace.

package main

import (
	"embed"
)

//go:embed README.md LICENSE unembed_test.go unembed.go
var eft embed.FS

func main() {
	err := Unembed(eft, "test2")
	if err != nil {
		t.Fatal(err)
	}
}

About

Take a filesystem from go:embed and unpack it to a directory someplace.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages