GoDoc Live — Auto-generate interactive API docs from your Go source code
I built a CLI tool that statically analyzes your Go HTTP services (chi & gin) and generates beautiful, interactive API documentation — no annotations, no code changes needed.
It uses go/ast and go/types to extract routes, path/query params, request/response bodies, and auth patterns (JWT, API key, basic auth) directly from your handlers.
go install github.com/syst3mctl/godoclive/cmd/godoclive@latest
godoclive generate ./...
Also has a watch mode with live reload via SSE:
godoclive watch --serve :8080 ./...
Currently supports chi and gin, with gorilla/mux, echo, and fiber planned. 100% detection accuracy across 37 test endpoints. MIT licensed.
GitHub: https://github.com/syst3mctl/godoclive
Feedback welcome!
Posted Mar 1, 2026, 2:34 PM UTC
123