Godoc
Provides Go package information via the Multi-Command Protocol (MCP).
소개
Godoc is a server that uses the Multi-Command Protocol (MCP) to expose detailed information about Go projects. It allows external tools to retrieve and utilize Go code documentation and structure. By specifying a root directory, it analyzes packages, types, functions, constants, and variables, providing a flexible way to access Go code metadata.
주요 기능
- Retrieves a list of Go packages and their comments.
- Provides detailed information about structs, including fields, methods, and comments.
- Lists exported structs, functions, and methods within a package.
- Offers detailed information about functions and methods, including signatures, comments, and examples.
- Gives detailed information about constants and variables in a package.
- 1 GitHub stars
사용 사례
- Analyzing Go project structure programmatically.
- Automating Go code inspection and documentation generation.
- Integrating Go code documentation into external tools.