- Category
- Developer Tools
- Rank
- No. 2500Tools index
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Coding
- GitHub
- 1 stars
- Latest release
- v0.9.0
- Date
About
Tack is a Go library for type-safe HTTP APIs. You declare a struct once and it provides request validation, OpenAPI documentation, and a generated TypeScript client, so the Go server and front end share one definition.
At a glance
Tack derives HTTP request validation, OpenAPI documentation and TypeScript client types from Go handler declarations. It is worth trying if the same API change routinely means editing a Go handler, a spec and frontend types.
Good fit
Go teams with a TypeScript client that can adopt typed handlers one endpoint at a time.
Consider something else when
Keep a spec-first workflow if an independently maintained API contract is what consumers and servers must both follow.
Start here
Migrate a read-only endpoint in a test project. Try a valid request and an invalid path parameter, then compare the validation response with the generated spec and client.
Cost and requirements
The MIT-licensed repository’s checked manifest specifies Go 1.26. It documents a separate CLI for client generation.
Limits to know
Generated contracts reflect what the routes declare. Test authentication and business rules separately, and review the migration notes before adopting it broadly.
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Tags
Tech Stack
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.