In some situations, it is desired to have reproducible runs of `go-bindata`
from a fixed git repository commit. Since mtimes and file modes are not
generally versioned, the newly introduced flags aid in that quest by allowing
to completely replace those two pieces of data by something fixed.
Example:
//go:generate go-bindata -pkg resource -mode 0644 -modtime 1388530800 \
-o ./embedded.go ./ui/...
Commit 2c7ab48825 added new struct
InputConfig which contains Path string and Recursive bool. The rest of
go-bindata has been changed to use that.
The Recursive flag inside Config is now completely unused, and should
be removed since it makes code harder to read.
directory should be processed recursively or not. The default
is false.
Fixes the package to use this flag.
Revises the README and adds a docs.go file which holds
package documentation.
is no point to this.
All output (including TOC) is now written to a single output file.
This allows us to have different output file names to be specified.
Each for a different version generated code with its own build tags.
Consequently offering much greater flexibility in the way generated
code is to be used in a host application.
Fixes test outputs to match all these changes.