go-bindata

(โ˜… 190)

A small utility which generates Go code from any file. Useful for embedding binary data in a Go program.

  • .editorconfig
  • .gitignore
  • assert_test.go
  • asset.go
  • AUTHORS
  • bindata.go
  • CHANGELOG
  • config.go
  • config_test.go
  • CONTRIBUTING.md
  • debug.go
  • doc.go
  • fsscanner.go
  • fsscanner_test.go
  • input_config.go
  • input_config_test.go
  • LICENSE
  • Makefile
  • README.md
  • release.go
  • release_template.go
  • release_test.go
  • restore.go
  • stringwriter.go
  • template.go
  • toc.go
  • translate.go
  • translate_common.go
  • translateToDir.go
  • translateToFile.go

# Installation Guide

1. Get the code
git clone https://github.com/shuLhan/go-bindata

Downloads the entire project code from GitHub to your computer.

cd go-bindata

Moves into the project folder you just downloaded.

2. Go

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
go install github.com/shuLhan/go-bindata/v4/cmd/go-bindata

Type this command into your terminal and run it.

โœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.

Pulled directly from this repo's README.

3. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make

Compiles the code based on the generated build configuration to produce an executable.

โœ… If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation