From ff7e9ab0c7dab2b27c514f19d8a5c4df305bfa4a Mon Sep 17 00:00:00 2001 From: Ismael GraHms Date: Sun, 26 Nov 2023 09:35:53 -0800 Subject: [PATCH] fix: no need to initialize new in and out structs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bb70822..e679dc2 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ func main() { Create a new API endpoint using the `NewRouter` function: ```go -product := worx.NewRouter[Product, ProductResponse]("/products", Product{}, ProductResponse{}) +product := worx.NewRouter[Product, ProductResponse]("/products") ``` ### 4. Include Routes in Your Application: