Skip to content

v0.4.0

Choose a tag to compare

@eularix eularix released this 22 Jun 05:49
· 10 commits to main since this release

Works with (almost) any Go web framework.

The per-framework gin and echo extractors are replaced by one generic router extractor that matches the shape nearly every Go router shares — router.GET/Get/POST/...("/path", handler) — by the verb name, a string path, and a function-typed handler, not by the router's concrete type. So gin, echo, fiber, chi, httprouter and most others work out of the box, with Group("/api") prefixes joined.

Combined with chain-based auto-layer (flow is read regardless of naming) and the gRPC / GraphQL / ConnectRPC extractors, archview now reads most Go API backends with no configuration.

  • New: framework-agnostic router extractor (+ examples/fiber).
  • Verified: gin, echo, fiber all detect routes with their group prefixes.
go get github.com/eularixs/archview@v0.4.0