🍺 BREW Explorer

← all formulae

go-bindata

brew install go-bindata v4.0.2 BSD-2-Clause

Small utility that generates Go code from any file

72
30-day installs · #3971
204
90-day · #4162
968
365-day · #3892
347
★ GitHub stars · updated 2mo ago

Runtime dependencies

go

GitHub topics

golang static-files

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "go"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Small utility that generates Go code from any file",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:14+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "go-bindata",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-09T12:38:34Z",
  "github_readme_excerpt": "## bindata\n\n*This fork is maintained by Kevin Burke, and is the version trusted by Homebrew.\nChanges made include:*\n\n- Atomic writes; generated file cannot be read while partially complete.\n\n- Better encoding of files that contain characters in the Unicode format range.\n\n- Generated file reports file sizes.\n\n- Generated code is run through go fmt.\n\n- SHA256 hashes are computed for all files and stored in the binary. You can\nuse this to detect in-memory corruption and to provide easy cache-busting\nmechanisms.\n\n- Added AssetString and MustAssetString functions.\n\n- ByName is not public.\n\n- Some errors in file writes were unchecked, but are now checked.\n\n- File modes are stored in octal (0644) instead of nonsensical decimal (420)\n\nThis package converts any file into manageable Go source code. Useful for\nembedding binary data into a go program. The file data is optionally gzip\ncompressed before being converted to a raw byte slice.\n\nIt comes with a command line tool in the `go-bindata` subdirectory. This tool\noffers a set of command line options, used to customize the output being\ngenerated.\n\n\n### Installation\n\nOn Macs, you can install the binary using [Homebrew](https://brew.sh):\n\n```\nbrew install go-bindata\n```\n\nYou can also download a binary from the [releases page][releases]. Switch in\nyour GOOS for the word \"linux\" below, and the latest version for the version\nlisted below:\n\n```\ncurl --silent --location --output /usr/local/bin/go-bindata https://github.com/kevinburke/go-bindata/releases/download/v4.0.0/go-bindata-linux-amd64\nchmod 755 /usr/local/bin/go-bindata\n```\n\nAlternatively, if you have a working Go installation, you can build the source and install the executable into `$GOPATH/bin` or `$GOBIN`:\n\n```shell\ngo install github.com/kevinburke/go-bindata/v4/...@latest\n# for versions of Go \u003c 1.11, or without module support, use:\ngo install github.com/kevinburke/go-bindata/...\n```\n\n[releases]: https://github.com/kevinburke/go-bindata/releases\n\n### Usage\n\nConversion is d",
  "github_repo": "kevinburke/go-bindata",
  "github_stars": 347,
  "github_topics": [
    "golang",
    "static-files"
  ],
  "homepage": "https://github.com/kevinburke/go-bindata",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 72,
  "installs_365d": 968,
  "installs_90d": 204,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-2-Clause",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "go-bindata",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 3971,
  "rank_365d": 3892,
  "rank_90d": 4162,
  "raw_hash": "6f7b2c23dfe8d68b",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/go-bindata.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "4.0.2",
  "versioned_formulae": [],
  "why_use_this": null
}