Skip to content
This repository was archived by the owner on Jun 25, 2022. It is now read-only.

Commit c312396

Browse files
authoredNov 3, 2020
Merge pull request #283 from Gowee/fixfindbytes
Fix a typo in README: FindBytes -> Find
2 parents c6a5045 + 583cd4a commit c312396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ box := packr.NewBox("./templates")
4545
html, err := box.FindString("index.html")
4646

4747
// Get the []byte representation of a file, or an error if it doesn't exist:
48-
html, err := box.FindBytes("index.html")
48+
html, err := box.Find("index.html")
4949
```
5050

5151
### What is a Box?

0 commit comments

Comments
 (0)
This repository has been archived.