diff --git a/README.md b/README.md index 9e6855f..9c1a155 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Build high-performance apps swiftly with minimal team resources in GO. # Installation Create your SUPERKIT project in a single command: ``` -go run github.com/anthdm/gothkit@master [yourprojectname] +go run github.com/anthdm/superkit@master [yourprojectname] ``` You can now navigate to your project: @@ -101,7 +101,7 @@ make db-seed This command will run the seed file located at `cmd/scripts/seed/main.go` # Creating views with Templ -Gothkit uses Templ as its templating engine. Templ allows you to create type safe view components that renders fragments of HTML. In-depth information about Templ can be found here: +superkit uses Templ as its templating engine. Templ allows you to create type safe view components that renders fragments of HTML. In-depth information about Templ can be found here: [Templ documentation](https://templ.guide) # Validations @@ -111,7 +111,7 @@ todo ## Testing handlers # Create a production release -Gothkit will compile your whole application including its assets into a single binary. To build your application for production you can run the following command: +superkit will compile your whole application including its assets into a single binary. To build your application for production you can run the following command: ``` make build ``` diff --git a/bootstrap/app/db/db.go b/bootstrap/app/db/db.go index de7695c..df39e95 100644 --- a/bootstrap/app/db/db.go +++ b/bootstrap/app/db/db.go @@ -4,8 +4,8 @@ import ( "log" "os" - "github.com/anthdm/gothkit/db" - "github.com/anthdm/gothkit/kit" + "github.com/anthdm/superkit/db" + "github.com/anthdm/superkit/kit" _ "github.com/mattn/go-sqlite3" diff --git a/bootstrap/app/events.go b/bootstrap/app/events.go index b99bbbc..7c3ab41 100644 --- a/bootstrap/app/events.go +++ b/bootstrap/app/events.go @@ -3,7 +3,7 @@ package app import ( "AABBCCDD/app/events" - "github.com/anthdm/gothkit/event" + "github.com/anthdm/superkit/event" ) // Events are functions that are handled in separate goroutines. diff --git a/bootstrap/app/handlers/auth.go b/bootstrap/app/handlers/auth.go index e37a94a..0bf3c31 100644 --- a/bootstrap/app/handlers/auth.go +++ b/bootstrap/app/handlers/auth.go @@ -3,7 +3,7 @@ package handlers import ( "AABBCCDD/app/types" - "github.com/anthdm/gothkit/kit" + "github.com/anthdm/superkit/kit" ) func HandleAuthentication(kit *kit.Kit) (kit.Auth, error) { diff --git a/bootstrap/app/handlers/landing.go b/bootstrap/app/handlers/landing.go index c5ea09d..7691641 100644 --- a/bootstrap/app/handlers/landing.go +++ b/bootstrap/app/handlers/landing.go @@ -3,7 +3,7 @@ package handlers import ( "AABBCCDD/app/views/landing" - "github.com/anthdm/gothkit/kit" + "github.com/anthdm/superkit/kit" ) func HandleLandingIndex(kit *kit.Kit) error { diff --git a/bootstrap/app/routes.go b/bootstrap/app/routes.go index dbbb027..0e5e0c5 100644 --- a/bootstrap/app/routes.go +++ b/bootstrap/app/routes.go @@ -6,8 +6,8 @@ import ( "AABBCCDD/plugins/auth" "log/slog" - "github.com/anthdm/gothkit/kit" - "github.com/anthdm/gothkit/kit/middleware" + "github.com/anthdm/superkit/kit" + "github.com/anthdm/superkit/kit/middleware" "github.com/go-chi/chi/v5" chimiddleware "github.com/go-chi/chi/v5/middleware" diff --git a/bootstrap/app/views/components/navigation.templ b/bootstrap/app/views/components/navigation.templ index 059bcc4..745cc51 100644 --- a/bootstrap/app/views/components/navigation.templ +++ b/bootstrap/app/views/components/navigation.templ @@ -4,7 +4,7 @@ templ Navigation() {