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

Commit

Permalink
Fix a typo in README: FindBytes -> Find
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowee committed Nov 3, 2020
1 parent c6a5045 commit 583cd4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ box := packr.NewBox("./templates")
html, err := box.FindString("index.html")

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

### What is a Box?
Expand Down

0 comments on commit 583cd4a

Please sign in to comment.