Merge pull request #55 from shurcooL/patch-1
Fix Asset signature in README.
This commit is contained in:
commit
da92400a92
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user