Docs / Ecosystems
Open documentation actions
Go
Go API, service, gRPC, CLI, logging, ORM, and auth-helper scaffolds.
Go projects use Go modules and Go-native templates. Choose Go options for HTTP services, gRPC, CLIs, logging, ORMs, and Go auth helpers.
Prerequisites
- Go toolchain.
- Git if you want repository initialization.
Scripted example
npm create better-fullstack@latest my-go-api -- \ --ecosystem go \ --go-web-framework gin \ --go-orm gorm \ --go-logging zap \ --go-auth jwt \ --go-api none \ --go-cli none \ --go-testing testify \ --go-realtime gorilla-websocket \ --go-message-queue nats \ --go-caching redis \ --go-config viper \ --go-observability opentelemetry \ --auth none \ --ai-docs none \ --version-channel stable \ --no-install \ --no-gitGo categories
| Category | Values |
|---|---|
| Web framework | gin echo fiber chi none |
| ORM | gorm sqlc ent none |
| API | grpc-go gqlgen none |
| CLI | cobra bubbletea urfave-cli none |
| Logging | zap zerolog slog logrus none |
| Go auth helpers | casbin jwt goth none |
| Testing (multi-select) | testify gomock none |
| Realtime | gorilla-websocket centrifuge none |
| Message queue | nats watermill none |
| Caching | redis ristretto none |
| Config | viper koanf none |
| Observability | opentelemetry none |
Auth split
Go has two auth-related fields:
--go-auth casbin|jwt|noneadds Go-native auth helpers.--auth go-better-authselects GoBetterAuth through the global auth field.
Other global auth providers such as Clerk, NextAuth, Stack Auth, Supabase Auth, and Auth0 are TypeScript-oriented and should not be presented as general Go scaffold support.
Generated behavior
go mod tidyis the install/verification path when install is enabled.- gRPC, Cobra, and Bubble Tea files are included only when selected.
- Testing, realtime, message-queue, caching, config, and observability selections generate
standalone packages under
internal/(plus example tests fortestify/gomock). gqlgenscaffoldsgraph/schema.graphqls+gqlgen.yml; rungo generate ./graphto produce the GraphQL server code (mirrors the Ent code-generation flow).gothregisters OAuth providers fromGOOGLE_CLIENT_ID/GITHUB_CLIENT_IDstyle env credentials.- AI instruction files are still available through
--ai-docs, including--ai-docs none.