Skip to content

cvsouth/go-package-analyzer

Repository files navigation

Go Package Analyzer

GitHub go.mod Go version Tests Go Report Card OpenSSF Scorecard

A simple tool to analyze and visualize Go package dependencies.

Setup

  1. Clone the repository

    git clone git@github.com:cvsouth/go-package-analyzer.git
    cd go-package-analyzer
  2. Run the application

    go run cmd/server.go

Usage

Open http://localhost:6333.

Screenshot

screenshot

Development

Static analysis

This project uses golangci-lint for code linting. If you have it installed locally, you can run:

golangci-lint run

Testing

To run the test suite:

go test ./...

Coming soon

  • Improved readme usage docs
  • Customizable styling
  • Export diagram as SVG / PNG / drawio file
  • Each package in the graph having its public interface displayed in some sort of collapsible list

About

A simple tool to analyze your Go package dependency graphs.

Resources

License

Security policy

Stars

Watchers

Forks

Contributors