Gin (Go) on Kubernetes
Fast Go HTTP services with GORM, shipped as a tiny static binary.
larakube gin:newgin:new writes a Go web service on Gin with GORM for the database, go-redis for the cache and the services you pick — the kind of service that compiles to one small binary.
gin:new creates the app and its Kubernetes manifests, but there's no production image for it yet: it warns No production image template for Gin (Go) yet and skips the Dockerfile. With no image, larakube up has nothing to run and cloud:deploy has nothing to ship. NestJS is the first framework through this path, and the rest follow one at a time.
🚀 Create a project
larakube gin:new api
Go has no single official project generator, so LaraKube CLI writes the starting files itself, then asks:
| Choice | Options | With --fast |
|---|---|---|
| Database (through GORM) | PostgreSQL (recommended, via pgx), MySQL, MariaDB | PostgreSQL |
| Cache | Redis (recommended, via go-redis/v9), Memcached | Redis |
| Object storage | None, MinIO (recommended), SeaweedFS, Garage | MinIO |
| Search | None, Meilisearch, Typesense | None |
🧱 What your app is set up for
| Piece | Detail |
|---|---|
| Server | Gin, listening on port 8080 |
| Migrations | golang-migrate — set up in the project, not yet run on deploy |
| Health check | /healthz |
🏘️ Plex Commons
Gin apps will join the shared Plex Commons for their database, cache and storage once this scaffolder is verified.