From 0e05e3a19d228a871d6d27985e3ff68eb69f1298 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Sat, 15 Nov 2014 19:45:57 -0800 Subject: [PATCH] Fix Asset signature in README. See https://github.com/jteeuwen/go-bindata/pull/54#discussion_r20400279. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2345bc7..903e023 100644 --- a/README.md +++ b/README.md @@ -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")