From 92c474d3bd32d28c81715d463ee837a4209d8384 Mon Sep 17 00:00:00 2001 From: Joseph Spurrier Date: Sat, 7 Jul 2018 13:15:13 -0400 Subject: [PATCH] Fix a typo in the readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3e00b3..034c372 100644 --- a/README.md +++ b/README.md @@ -307,7 +307,7 @@ func (p *Endpoint) Index(w http.ResponseWriter, r *http.Request) (int, error) { u := store.NewUser(p.DB, p.Q) // Get all items. - results := make(store.TUserGroup, 0) + results := make(store.UserGroup, 0) _, err := u.FindAll(&results) if err != nil { return http.StatusInternalServerError, err @@ -321,7 +321,7 @@ func (p *Endpoint) Index(w http.ResponseWriter, r *http.Request) (int, error) { // Required: true Status string `json:"status"` // Required: true - Data store.TUserGroup `json:"data"` + Data store.UserGroup `json:"data"` } }