Registry / utility / geertjohan-go-rice

geertjohan-go-rice

JSON →
library1.0.3gogounverified

Package go.rice embeds static assets into Go binaries for easy distribution.

go get github.com/GeertJohan/go.rice
INSTALL
IMPORT
SIG · GEERTJOHAN-GO-RICE
G
geertjohan-go-rice
utilitygov1.0.3
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.

rice
github.com/GeertJohan/go.rice

Finds and uses a rice box for embedded files.

package main import ( "fmt" "github.com/GeertJohan/go.rice" ) func main() { box, _ := rice.FindBox("static") fmt.Println(box) }
Debug
Known issues
gotchago.rice is no longer actively maintained; consider alternatives like embed or packr.
fix
Use Go 1.16+ embed directive or github.com/gobuffalo/packr.
affects: >=1.0.0
Upgrade
Version history
1.0.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
geertjohan-go-rice — go get geertjohan-go-rice · libregistry