go-bindata
« Back to VersTracker
Description:
Small utility that generates Go code from any file
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: golang embedding assets build-tools code-generation
Install: brew install go-bindata
About:
go-bindata is a command-line utility that embeds static files into Go programs by converting them into Go source code. This allows you to ship a single binary without external file dependencies, simplifying deployment and distribution. It's particularly useful for web applications and CLI tools that need to bundle assets like templates, configuration files, or UI resources.
Key Features:
  • Embeds any file type into Go binaries
  • Supports compression to reduce binary size
  • Optional asset embedding with debug mode for development
  • Generates standard Go code compatible with any project
Use Cases:
  • Bundling web assets (CSS, JS, HTML) into a single Go server binary
  • Embedding configuration files and templates for CLI applications
  • Creating self-contained Go tools that don't require external resources
Alternatives:
  • packr – Packr is a higher-level alternative with automatic file detection, while go-bindata requires explicit file paths
  • go:embed – Go 1.16+ native embed directive provides similar functionality without external tools
Version History
Detected Version Rev Change Commit
Sep 11, 2025 1:55am 0 VERSION_BUMP 5e90a6c9