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

Commit 583cd4a

Browse files
committedNov 3, 2020
Fix a typo in README: FindBytes -> Find
1 parent c6a5045 commit 583cd4a

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.