1GO-BINDATA.SHULHAN(1) User Commands GO-BINDATA.SHULHAN(1)
2
3
4
6 go-bindata.shulhan - A small utility which generates Go code from any
7 file
8
10 go-bindata [options] <input directories>
11
13 -assetprefix string
14
15 Prefix for the name of the asset function. Begin with a capital
16 letter to export them (default "bindata")
17
18 -debug
19
20 Do not embed the assets, but provide the embedding API. Contents
21 will still be loaded from disk.
22
23 -dev
24
25 Similar to debug, but does not emit absolute paths. Expects a
26 rootDir variable to already exist in the generated code's pack‐
27 age.
28
29 -ignore value
30
31 Regex pattern to ignore
32
33 -include value
34
35 Regex pattern to include
36
37 -md5checksum
38
39 MD5 checksums will be calculated for assets.
40
41 -mode uint
42
43 Optional file mode override for all files.
44
45 -modtime int
46
47 Optional modification unix timestamp override for all files.
48
49 -nocompress
50
51 Assets will *not* be GZIP compressed when this flag is speci‐
52 fied.
53
54 -nomemcopy
55
56 Use a .rodata hack to get rid of unnecessary memcopies. Refer to
57 the documentation to see what implications this carries.
58
59 -nometadata
60
61 Assets will not preserve size, mode, and modtime info.
62
63 -o string
64
65 Optional name of the output file to be generated. (default
66 "bindata.go")
67
68 -pkg string
69
70 Package name to use in the generated code. (default "main")
71
72 -prefix string
73
74 Optional path prefix to strip off asset names.
75
76 -split
77
78 Split output into several files, avoiding to have a big output
79 file.
80
81 -tags string
82
83 Optional set of build tags to include.
84
85 -verbose
86
87 Print the name of file as they are being processed.
88
89 -version
90
91 Displays version information.
92
93
94
95go-bindata.shulhan 3.6.1 January 2023 GO-BINDATA.SHULHAN(1)