Skip to content

d0x7/go-embedfs-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-embedfs-http

License

go-embedfs-http is a super small http.FileSystem that serves files from an embedded filesystem (designed for go 1.16' embed feature), while also disabling directory listings and strips the path prefix.

I outsourced this into a separate module, because I use it in multiple projects.

Installation

Add it to your go.mod like every other module:

go get github.com/d0x7/go-embedfs-http

License

MIT © 2023 Dorian Heinrichs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages