1
.\" Copyright (c) 2014 Vincent Bernat <bernat@debian.org>
3
.\" This file is licensed as CC0.
10
.Nd embed data in a Go program
18
converts any file into manageable Go source code. It is
19
useful for embedding binary data into a Go program. The file data is
20
optionally gzip compressed before being converted to a raw byte
24
is the input directory containing the assets to incorporate while
26
is the optional output file containing the appropriate Go code to load
29
The options are as follows:
32
Do not embed the assets, but provide the embedding API. Contents will
33
still be loaded from disk.
35
Assets will *not* be GZIP compressed when this flag is specified.
37
Use a .rodata hack to get rid of unnecessary memcopies. Refer to the
38
documentation to see what implications this carries.
40
Package name to use in the generated code.
41
.It Fl prefix Ar prefix
42
Optional path prefix to strip off asset names.
44
Recursive processing of the target directory and all its
47
Optional set of build tags to include.
53
program was written by