Fix Asset signature in README.

See https://github.com/jteeuwen/go-bindata/pull/54#discussion_r20400279.
This commit is contained in:
Dmitri Shuralyov 2014-11-15 19:45:57 -08:00
parent 1796683e4d
commit 0e05e3a19d

View File

@ -53,7 +53,7 @@ To ignore files, pass in regexes using -ignore, for example:
### Accessing an asset
To access asset data, we use the `Asset(string) []byte` function which
To access asset data, we use the `Asset(string) ([]byte, error)` function which
is included in the generated output.
data, err := Asset("pub/style/foo.css")