diff --git a/README.md b/README.md index 773dfc6..d1c5247 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ So, if you’re looking for a friendly and efficient way to build web apps in Go package main import ( - "express-go/req" - "express-go/router" + "github.com/BrunoCiccarino/express-go/req" + "github.com/BrunoCiccarino/express-go/router" "fmt" ) @@ -52,8 +52,8 @@ func main() { package main import ( - "express-go/req" - "express-go/router" + "github.com/BrunoCiccarino/express-go/req" + "github.com/BrunoCiccarino/express-go/router" "fmt" ) @@ -81,8 +81,8 @@ func main() { package main import ( - "express-go/req" - "express-go/router" + "github.com/BrunoCiccarino/express-go/req" + "github.com/BrunoCiccarino/express-go/router" "fmt" ) @@ -114,8 +114,8 @@ package main import ( "encoding/json" - "express-go/req" - "express-go/router" + "github.com/BrunoCiccarino/express-go/req" + "github.com/BrunoCiccarino/express-go/router" "log" "strconv" "fmt" diff --git a/examples/crud/main.go b/examples/crud/main.go index b041129..284ac96 100644 --- a/examples/crud/main.go +++ b/examples/crud/main.go @@ -2,11 +2,12 @@ package main import ( "encoding/json" - "express-go/req" - "express-go/router" "fmt" "log" "strconv" + + "github.com/BrunoCiccarino/express-go/req" + "github.com/BrunoCiccarino/express-go/router" ) type User struct { diff --git a/examples/http_header/main.go b/examples/http_header/main.go index 1fd0581..2083ea4 100644 --- a/examples/http_header/main.go +++ b/examples/http_header/main.go @@ -1,9 +1,10 @@ package main import ( - "express-go/req" - "express-go/router" "fmt" + + "github.com/BrunoCiccarino/express-go/req" + "github.com/BrunoCiccarino/express-go/router" ) // main sets up the application, defines a route that checks for an Authorization header, diff --git a/examples/json_data/main.go b/examples/json_data/main.go index c57845f..4b2a9be 100644 --- a/examples/json_data/main.go +++ b/examples/json_data/main.go @@ -1,9 +1,10 @@ package main import ( - "express-go/req" - "express-go/router" "fmt" + + "github.com/BrunoCiccarino/express-go/req" + "github.com/BrunoCiccarino/express-go/router" ) // main sets up the application and defines a route that returns JSON data. diff --git a/examples/simple_route/main.go b/examples/simple_route/main.go index db20f2d..b142c92 100644 --- a/examples/simple_route/main.go +++ b/examples/simple_route/main.go @@ -1,9 +1,10 @@ package main import ( - "express-go/req" - "express-go/router" "fmt" + + "github.com/BrunoCiccarino/express-go/req" + "github.com/BrunoCiccarino/express-go/router" ) // main sets up the application, defines a route, and starts the server. diff --git a/router/route.go b/router/route.go index 22c121b..ca5427b 100644 --- a/router/route.go +++ b/router/route.go @@ -1,7 +1,7 @@ package router import ( - "express-go/req" + "github.com/BrunoCiccarino/express-go/req" ) type Route struct { diff --git a/router/router.go b/router/router.go index 7ca8d2d..42b9857 100644 --- a/router/router.go +++ b/router/router.go @@ -1,8 +1,9 @@ package router import ( - "express-go/req" "net/http" + + "github.com/BrunoCiccarino/express-go/req" ) type App struct { diff --git a/router/router_test.go b/router/router_test.go index 8259d8d..118ec5f 100644 --- a/router/router_test.go +++ b/router/router_test.go @@ -1,10 +1,11 @@ package router import ( - "express-go/req" "net/http" "net/http/httptest" "testing" + + "github.com/BrunoCiccarino/express-go/req" ) func TestAppRouteValid(t *testing.T) {