diff --git a/.gitignore b/.gitignore index 472f32c..f4519c0 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,5 @@ go.work.sum .env **/tmp/** -.DS_Store \ No newline at end of file +.DS_Store +examples \ No newline at end of file diff --git a/go.mod b/go.mod index 878e4c4..abd33f4 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/ThePuffProject/examples go 1.23.0 -require github.com/nikumar1206/puff v0.0.0-20241111183627-cf7fc237db0f +require github.com/ThePuffProject/puff v0.0.0-20241111192831-55e1f4ffe235 require ( github.com/google/uuid v1.6.0 // indirect diff --git a/go.sum b/go.sum index 9400901..971fa5b 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ +github.com/ThePuffProject/puff v0.0.0-20241111192831-55e1f4ffe235 h1:kjG4LPjRmsUe8mIyBNPyxZLdY04319g6CDklUwl3Yu0= +github.com/ThePuffProject/puff v0.0.0-20241111192831-55e1f4ffe235/go.mod h1:xH3cWmT8LriDDwIrABkJdJL9cNLyXbfI7wt8iXtsuQk= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/nikumar1206/puff v0.0.0-20241111183627-cf7fc237db0f h1:fPiT8A95DGYXOoT1fSf3k9d7D1y6/LpBhDwKXyDTETA= -github.com/nikumar1206/puff v0.0.0-20241111183627-cf7fc237db0f/go.mod h1:IGKW9veaL+cGX4dIS0rq1HcfQYHjqeldjbrkBskswHM= nhooyr.io/websocket v1.8.17 h1:KEVeLJkUywCKVsnLIDlD/5gtayKp8VoCkksHCGGfT9Y= nhooyr.io/websocket v1.8.17/go.mod h1:rN9OFWIUwuxg4fR5tELlYC04bXYowCP9GX47ivo2l+c= diff --git a/restaurant_app/main.go b/restaurant_app/main.go index aad8e53..750ec37 100644 --- a/restaurant_app/main.go +++ b/restaurant_app/main.go @@ -6,8 +6,8 @@ import ( "time" "github.com/ThePuffProject/examples/restaurant_app/routes" - "github.com/nikumar1206/puff" - "github.com/nikumar1206/puff/middleware" + "github.com/ThePuffProject/puff" + "github.com/ThePuffProject/puff/middleware" ) type User struct { diff --git a/restaurant_app/pasta.go b/restaurant_app/pasta.go index 61271e6..7227878 100644 --- a/restaurant_app/pasta.go +++ b/restaurant_app/pasta.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - "github.com/nikumar1206/puff" + "github.com/ThePuffProject/puff" ) type PastaHomeInput struct { diff --git a/restaurant_app/routes/drinks.go b/restaurant_app/routes/drinks.go index e9d1a91..78b40bd 100644 --- a/restaurant_app/routes/drinks.go +++ b/restaurant_app/routes/drinks.go @@ -1,7 +1,7 @@ package routes import ( - "github.com/nikumar1206/puff" + "github.com/ThePuffProject/puff" ) type EchoInput struct { diff --git a/restaurant_app/routes/pizza.go b/restaurant_app/routes/pizza.go index 2b03239..8b2f6d8 100644 --- a/restaurant_app/routes/pizza.go +++ b/restaurant_app/routes/pizza.go @@ -4,7 +4,7 @@ import ( "net/http" "time" - "github.com/nikumar1206/puff" + "github.com/ThePuffProject/puff" ) type PizzaResponse struct { diff --git a/restaurant_app/routes/soda.go b/restaurant_app/routes/soda.go index db1fb6b..d250b78 100644 --- a/restaurant_app/routes/soda.go +++ b/restaurant_app/routes/soda.go @@ -1,8 +1,8 @@ package routes import ( - "github.com/nikumar1206/puff" - "github.com/nikumar1206/puff/middleware" + "github.com/ThePuffProject/puff" + "github.com/ThePuffProject/puff/middleware" ) type OrderSodaInput struct { diff --git a/restaurant_app/routes/water.go b/restaurant_app/routes/water.go index c428a93..6e09c87 100644 --- a/restaurant_app/routes/water.go +++ b/restaurant_app/routes/water.go @@ -1,6 +1,6 @@ package routes -import "github.com/nikumar1206/puff" +import "github.com/ThePuffProject/puff" func WaterRouter() *puff.Router { r := puff.NewRouter("Water", "/water")