diff --git a/api/handlers/cow.go b/api/handlers/cow.go index 49ce6ca..1ea8826 100644 --- a/api/handlers/cow.go +++ b/api/handlers/cow.go @@ -113,8 +113,6 @@ func (c Cow) NewCowHandler(w http.ResponseWriter, r *http.Request) { json.NewEncoder(w).Encode(response) } -// TODO: fix all update handlers because they don't work - // UpdateCowHandler gets updates the data for an existing cow and returns a result and error func (c Cow) UpdateCowHandler(w http.ResponseWriter, r *http.Request) { cowID := mux.Vars(r)["cow_id"] diff --git a/databases/cow.go b/databases/cow.go index a608a52..3f55a68 100644 --- a/databases/cow.go +++ b/databases/cow.go @@ -10,8 +10,6 @@ import ( const cowName = "cows" -// TODO: fix all update handlers because they don't work - // CowDatabase contains the methods to use with the cow database type CowDatabase interface { FindOne(ctx context.Context, filter interface{}) (*models.Cow, error) diff --git a/databases/database.go b/databases/database.go index f62d8ac..d445934 100644 --- a/databases/database.go +++ b/databases/database.go @@ -9,8 +9,6 @@ import ( "github.com/SowinskiBraeden/SulliCartShare/config" ) -// TODO: fix all update handlers because they don't work - // DatabaseHelper contains the collection and client to be used to access the methods // defined below type DatabaseHelper interface {