bindata

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 0 Imported by: 0

README

The files in this folder are auto generated from the files/ and templates/ folders.

  • To generate the binary base64 data you need to install go-bindata:
curl --silent --location --output /usr/local/bin/go-bindata https://github.com/kevinburke/go-bindata/releases/download/v3.22.0/go-bindata-linux-amd64
chmod 755 /usr/local/bin/go-bindata
make generate

See: https://github.com/kevinburke/go-bindata

  • Do not put anything except Go HTML template files in the templates/ directory.

Documentation

Overview

Package bindata provides the go:generate command to create new base64 binary data, as well as the binary data itself, in both formats. That means, you will find the _things_ we compress into base64 inside the files/ directory, and you will find the base64 files in the bindata.go file. The generate.go file contains the command that creates the binary data. See: https://github.com/kevinburke/go-bindata or the README.md file.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL