English | 한국어
A return-value-based Go web framework for building clean, scalable server-side applications.
Zenqo is a framework for building efficient, maintainable Go web applications. Handlers return (data, error) instead of manually writing to http.ResponseWriter — the framework handles JSON serialization, status codes, and error responses automatically.
Under the hood, Zenqo uses chi as its router, keeping Go's performance while removing the boilerplate that slows you down.
Handlers are pure functions that return (data, error). The framework handles JSON serialization, status codes, and error responses — so your code stays focused on business logic.
// Zenqo
func getUser(r *http.Request) (any, error) {
user, err := svc.FindByID(id)
if err != nil {
return nil, core.ErrNotFound("user not found")
}
return user, nil
}go install github.com/zenqos/zenqo/cmd/zenqo@latest
zenqo new my-app
cd my-app && go run .→ Full guide: Getting Started
- Return-value handlers —
(any, error)signature, automatic JSON & status codes - Controllers — group routes under a base path with
BaseController - Bind & Validate —
Bind[T]decodes JSON and runs struct validation in one call - Guards & Interceptors — access control and lifecycle hooks at route, controller, or global level
- Error handling — panic recovery, typed errors, customizable global error handler
- Auto camelCase — struct fields serialize as camelCase without
jsontags - Built-in middleware — CORS, secure headers, request ID, panic recovery
examples/basic— Direct routing without controllersexamples/crud— Full CRUD API with Controller + Service patternexamples/auth— JWT authentication with Guards, Interceptors, and Bind+Validation
| Topic | EN | KO |
|---|---|---|
| Getting Started | → | → |
| Controllers | → | → |
| Request Binding | → | → |
| Error Handling | → | → |
| Guards & Interceptors | → | → |
| Middleware | → | → |
| OpenAPI | → | → |
- CHANGELOG — version history
- pkg.go.dev — API reference (GoDoc)
|
ftery0 💻 |
Raghu :) 💻 |
aicontentcreate2023-star 💻 |
We welcome contributions! Please read the Contributing Guide before submitting a Pull Request.
If you discover a security vulnerability, do not open a public issue. Please follow the instructions in our Security Policy.
- Author — @ftery0
Zenqo is MIT licensed.