This commit is contained in:
Sam Woodard 2015-07-13 14:04:08 -07:00
parent 3574efbd33
commit dde4d75da4
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ func CreateBlog(w http.ResponseWriter, r *http.Request) {
MarshalManyPayload(w io.Writer, models []interface{}) error
```
Visit [godoc](http://godoc.org/github.com/shwoodard/jsonapi#MashalManyPayload)
Visit [godoc](http://godoc.org/github.com/shwoodard/jsonapi#MarshalManyPayload)
Takes an `io.Writer` and an slice of `interface{}`. Note, if you have a
type safe array of your structs, like,