Getting Started
Getting Started
Getting Started with Ginboot
Ginboot is a robust Go web framework built on top of the popular Gin framework, designed to accelerate the development of production-ready microservices and APIs. It comes with built-in support for different databases, telemetry, and AWS Lambda deployments.
🚀 The Easiest Way: start.ginboot.com
The fastest way to scaffold a new Ginboot project is using our official generator.

- Navigate to start.ginboot.com.
- Enter your project name.
- Select your preferred database (e.g., PostgreSQL, MongoDB, MySQL).
- Toggle on any features you need (Telemetry, Jaeger Tracing, Grafana).
- Click Generate Project to download a ready-to-run
.zipboilerplate.
Once downloaded, extract the files and run:
go mod tidy
go run main.goManual Installation
Alternatively, you can install Ginboot in an existing Go project using go get:
go get -u github.com/klass-lk/ginbootBasic Example
Here is a simple example to start a basic HTTP server:
package main
import (
"log"
"github.com/klass-lk/ginboot"
)
func main() {
app := ginboot.New()
app.SetBasePath("/api/v1")
// Start the server on port 8080
if err := app.Start(8080); err != nil {
log.Fatalf("Failed to start server: %v", err)
}
}