Merge 0bac7b69ac
into a0ff2567cf
This commit is contained in:
commit
b8835e9fe2
|
@ -1,6 +1,6 @@
|
|||
## bindata
|
||||
|
||||
This package converts any file into managable Go source code. Useful for
|
||||
This package converts any file into manageable Go source code. Useful for
|
||||
embedding binary data into a go program. The file data is optionally gzip
|
||||
compressed before being converted to a raw byte slice.
|
||||
|
||||
|
@ -154,7 +154,7 @@ The default behaviour of the program is to use compression.
|
|||
|
||||
The keys used in the `_bindata` map, are the same as the input file name
|
||||
passed to `go-bindata`. This includes the path. In most cases, this is not
|
||||
desireable, as it puts potentially sensitive information in your code base.
|
||||
desirable, as it puts potentially sensitive information in your code base.
|
||||
For this purpose, the tool supplies another command line flag `-prefix`.
|
||||
This accepts a portion of a path name, which should be stripped off from
|
||||
the map keys and function names.
|
||||
|
|
Loading…
Reference in New Issue
Block a user