Merge pull request #55 from shurcooL/patch-1

Fix Asset signature in README.
This commit is contained in:
Jim Teeuwen 2014-11-16 11:22:31 +01:00
commit da92400a92

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")