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

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Apr 3, 2019
1 parent 53a870e commit 18ac51d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions v2/README.md
Expand Up @@ -233,7 +233,9 @@ Q: I want to be able to easily test my applications by passing in mock boxes. Ho
A: Packr boxes and files conform to the interfaces found at [`github.com/gobuffalo/packd`](https://godoc.org/github.com/gobuffalo/packd). Change your application to use those interfaces instead of the concrete Packr types.

```go
func myFunc(box *packr.Box)
// using concrete type
func myFunc(box *packr.Box) {}

func myFunc(box packd.Box)
// using interfaces
func myFunc(box packd.Box) {}
```

0 comments on commit 18ac51d

Please sign in to comment.