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

Commit

Permalink
Merge pull request #283 from Gowee/fixfindbytes
Browse files Browse the repository at this point in the history
Fix a typo in README: FindBytes -> Find
  • Loading branch information
paganotoni committed Nov 3, 2020
2 parents c6a5045 + 583cd4a commit c312396
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 c312396

Please sign in to comment.