Skip to content

pkgdep checks if package dependency follows rule

Notifications You must be signed in to change notification settings

cloverrose/pkgdep

Repository files navigation

pkgdep

pkgdep checks if package dependency follows rule.

Install

$ go install github.com/cloverrose/pkgdep/cmd/pkgdep@latest

Or Build from source

$ go build -o bin/ ./cmd/...

Or Install via aqua

https://aquaproj.github.io/

Usage

1. Create .pkgdep.json in your repository

See .pkgdep.json as example.

We can use * as wild card.

2. Run

$ go vet -vettool=`which pkgdep` -pkgdep.config=$(PWD)/.pkgdep.json ./...

About

pkgdep checks if package dependency follows rule

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages