Registry / web-framework / elazarl-go-bindata-assetfs

elazarl-go-bindata-assetfs

JSON →
library1.0.1gogounverified

AssetFS allows packages to serve static content embedded with the go-bindata tool with the standard net/http package.

go get github.com/elazarl/go-bindata-assetfs
INSTALL
IMPORT
SIG · ELAZARL-GO-BINDATA
E
elazarl-go-bindata-assetfs
web-frameworkgov1.0.1
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.

assetfs
github.com/elazarl/go-bindata-assetfs

Serve embedded static files via HTTP.

package main import ( "net/http" "github.com/elazarl/go-bindata-assetfs" ) func main() { fs := assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir} http.Handle("/static/", http.FileServer(fs)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
elazarl-go-bindata-assetfs — go get elazarl-go-bindata-assetfs · libregistry