Registry / utility / gobuffalo-packr

gobuffalo-packr

JSON →
library1.30.1gogounverified

Package packr embeds static files into Go binaries.

go get github.com/gobuffalo/packr
INSTALL
IMPORT
SIG · GOBUFFALO-PACKR
G
gobuffalo-packr
utilitygov1.30.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.

packr
github.com/gobuffalo/packr

Embed static files

package main import ( "fmt" "github.com/gobuffalo/packr" ) func main() { box := packr.NewBox("./templates") s, _ := box.FindString("index.html") fmt.Println(s) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
gobuffalo-packr — go get gobuffalo-packr · libregistry