Registry / utility / hashicorp-go-bindata

hashicorp-go-bindata

JSON →
library3.0.7+incompatiblegogounverified

Converts any file into manageable Go source code for embedding binary data, with optional compression and debug mode.

go get github.com/hashicorp/go-bindata
INSTALL
IMPORT
SIG · HASHICORP-GO-BINDA
H
hashicorp-go-bindata
utilitygov3.0.7+incompatible
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.

bindata
github.com/hashicorp/go-bindata

Embed a file into Go source code using bindata

package main import ( "fmt" "github.com/hashicorp/go-bindata" ) func main() { cfg := &bindata.Config{ Input: []bindata.InputConfig{{Path: "data.txt"}}, Output: "bindata.go", Package: "main", } err := bindata.Translate(cfg) fmt.Println(err) }
Debug
Known issues
gotchaVersion 3.0.7+incompatible uses a pre-modules versioning scheme; newer versions may have breaking changes.
fix
Use the latest version from the official repository or consider alternatives like embed.
affects: >=3.0.0
Upgrade
Version history
3.0.7+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hashicorp-go-bindata — go get hashicorp-go-bindata · libregistry