OS Manuals

/usr/bin/go-bindata

A small utility which generates Go code from any file

From go-bindata 3.1.3-r49 (os), captured 2026-11-05 by running go-bindata --help (exit 0). permalink

Usage: /usr/bin/go-bindata [options] <input directories>

  -debug
    	Do not embed the assets, but provide the embedding API. Contents will still be loaded from disk.
  -dev
    	Similar to debug, but does not emit absolute paths. Expects a rootDir variable to already exist in the generated code's package.
  -fs
    	Whether generate instance http.FileSystem interface code.
  -ignore value
    	Regex pattern to ignore
  -mode uint
    	Optional file mode override for all files.
  -modtime int
    	Optional modification unix timestamp override for all files.
  -nocompress
    	Assets will *not* be GZIP compressed when this flag is specified.
  -nomemcopy
    	Use a .rodata hack to get rid of unnecessary memcopies. Refer to the documentation to see what implications this carries.
  -nometadata
    	Assets will not preserve size, mode, and modtime info.
  -o string
    	Optional name of the output file to be generated. (default "./bindata.go")
  -pkg string
    	Package name to use in the generated code. (default "main")
  -prefix string
    	Optional path prefix to strip off asset names.
  -tags string
    	Optional set of build tags to include.
  -version
    	Displays version information.
Options (14)
OptionDescriptionSource
-debugDo not embed the assets, but provide the embedding API.help
-devSimilar to debug, but does not emit absolute paths.help
-fsWhether generate instance http.FileSystem interface code.help
-ignore valueRegex pattern to ignorehelp
-mode uintOptional file mode override for all files.help
-modtime intOptional modification unix timestamp override for all files.help
-nocompressAssets will *not* be GZIP compressed when this flag is specified.help
-nomemcopyUse a .rodata hack to get rid of unnecessary memcopies.help
-nometadataAssets will not preserve size, mode, and modtime info.help
-o stringOptional name of the output file to be generated.help
-pkg stringPackage name to use in the generated code.help
-prefix stringOptional path prefix to strip off asset names.help
-tags stringOptional set of build tags to include.help
-versionDisplays version information.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.