Registry / utility / jessevdk-go-assets

jessevdk-go-assets

JSON →
library0.0.0-20160921144138-4f4301a06e15gogounverified

go-assets is a simple embedding asset generator and consumer library for Go.

go get github.com/jessevdk/go-assets
INSTALL
IMPORT
SIG · JESSEVDK-GO-ASSETS
J
jessevdk-go-assets
utilitygov0.0.0-20160921144138-4f4301a06e15
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.

assets
github.com/jessevdk/go-assets

Read embedded asset file

package main import ( "fmt" "github.com/jessevdk/go-assets" ) func main() { data, err := assets.Asset("path/to/file.txt") if err != nil { panic(err) } fmt.Println(string(data)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20160921144138-4f4301a06e15latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
jessevdk-go-assets — go get jessevdk-go-assets · libregistry