Gobindep
List dependencies of a go binary compiled using go modules
Install / Use
/learn @JoakimSoderberg/GobindepREADME
gobindep
This program lists the dependencies for Go binaries that were compiled using Go modules support.
Only the dependencies that are actually used by the final executable are included.
This can be compared to the dependencies listed in go.mod that might include code that is only used for Tests for example.
Usage
gobindep your-go-executable
gobindep --help
Combined with security scanning
This tool can be used for doing a security scan of used dependencies such as Sonatype nancy:
- https://github.com/sonatype-nexus-community/nancy
# Run security check on the dependencies in the go.sum file
$ nancy go.sum
...
Audited dependencies: 65, Vulnerable: 0
# Same thing but use the go introspection tool instead
$ go list -m all | nancy
...
Audited dependencies: 77, Vulnerable: 1
# Finally only check the dependencies we actually use in the final program!
$ gobindep your-go-executable | nancy
...
Audited dependencies: 45, Vulnerable: 0
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
