Registry / utility / mjibson-esc

mjibson-esc

JSON →
library0.2.0gogounverified

Esc embeds files into Go programs and provides http.FileSystem interfaces to them.

go get github.com/mjibson/esc
INSTALL
IMPORT
SIG · MJIBSON-ESC
M
mjibson-esc
utilitygov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

esc
github.com/mjibson/esc

Serves embedded files via HTTP.

package main import ( "net/http" "github.com/mjibson/esc" ) func main() { fs := esc.FileSystem() http.Handle("/", http.FileServer(fs)) http.ListenAndServe(":8080", nil) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mjibson-esc — go get mjibson-esc · libregistry