add delete quote method

This commit is contained in:
Odweta
2026-03-19 11:59:19 +01:00
parent 8e27f0a5c2
commit 205bd79cdf
2 changed files with 28 additions and 7 deletions
+1
View File
@@ -17,6 +17,7 @@ func main() {
// routes
r.Get("/quotes", getQuotes)
r.Post("/quotes", createQuote)
r.Delete("/quotes/{id}", deleteQuote)
port := os.Getenv("PORT")
if port == "" {