archview

Installation

Requirements and how to add archview to your project.

Requirements

  • Go 1.25+ (the module targets go 1.25.5).
  • The source tree and Go toolchain available at runtime — archview analyzes your packages with go/packages when the server starts (dev-live mode).

Add the dependency

go get github.com/eularixs/archview
import "github.com/eularixs/archview"

A note on deployment

Because dev-live analysis reads your source, archview is meant for local and internal/staging environments where the repository is present. A prod-baked mode (analyze once, embed a graph.json) is on the roadmap for shipping inside a stripped binary.

Guard the endpoint in shared environments

archview ships no auth on /graph. If you expose it beyond localhost, put it behind your own middleware or a network boundary.

On this page