GoKR

Full Lifecycle Build Tool for Go Projects

Framework-agnostic scaffolding that covers code generation, deployment, and best practices. Build secure, robust enterprise applications faster.

$ go install github.com/gokr-io/gokr@latest

Why GoKR?

Everything you need to build production-ready Go applications

Code Generation

Generate boilerplate code, API handlers, models, and more. Focus on business logic while GoKR handles the scaffolding.

Best Practices Built-in

Every generated code follows Go community best practices, ensuring maintainable and idiomatic code from day one.

Framework Agnostic

Works with Gin, Echo, Fiber, Chi, or any framework you prefer. GoKR adapts to your stack, not the other way around.

Deployment Ready

Built-in commands for Docker, Kubernetes, CI/CD pipelines. From development to production in minutes.

Architecture Evolution

Start simple, scale complex. GoKR supports monoliths to microservices transitions without rewrites.

Enterprise Security

Security-first design with built-in authentication, authorization, and audit logging patterns.

Generate code with a single command

GoKR generates production-ready code that follows best practices. Create APIs, services, repositories, and more with simple CLI commands.

terminal
# Create a new project
gokr new myapp
 
# Generate a REST API resource
gokr gen api user --crud
 
# Add authentication
gokr add auth jwt
 
# Generate database migrations
gokr gen migration create_users
 
# Build and deploy
gokr build --docker
gokr deploy --k8s

Complete Project Lifecycle

GoKR covers every stage of your Go project, from initial scaffolding to production deployment.

1

Init

Project scaffolding with best-practice structure

2

Generate

Code generation for APIs, models, and services

3

Build

Optimized builds with Docker and multi-platform support

4

Test

Integrated testing with coverage and benchmarks

5

Deploy

One-command deployment to cloud and Kubernetes

Ready to accelerate your Go development?

Join thousands of Go developers who ship faster with GoKR.