include todo
This commit is contained in:
1 file changed
+2
@@ -24,6 +24,8 @@ type Cow struct {
|
||||
DB databases.CowDatabase
|
||||
}
|
||||
|
||||
// TODO: update api return messages
|
||||
|
||||
// CowHandler returns all cows
|
||||
func (c Cow) CowHandler(w http.ResponseWriter, r *http.Request) {
|
||||
dbResp, err := c.DB.Find(context.TODO(), bson.M{})
|
||||
|
||||
Reference in new issue
Block a user