Description
GoPlantUML is an open source command-line tool that generates PlantUML class diagrams from Go source code. It parses your Go project and produces a diagram that shows its structure, package dependencies and relationships between types and functions. The README says it is meant to help developers understand a codebase, document its architecture and share an overview with a team. It recognizes two kinds of relationships: interface implementation, where a type satisfies an interface, and type composition, where one type embeds another. The README includes an example that shows both relationships and the diagram it produces. The tool requires Go 1.17 or newer, and installing it places the goplantuml command in your GOPATH bin folder. The output is PlantUML text, which you render locally with PlantUML or paste into an online server. The README links to example diagrams produced for a project. The project is actively maintained and welcomes contributions from the Go community, and it has a code of conduct.…
Highlights
- Generates PlantUML class diagrams from Go code
- Shows interface implementation and type composition
- Package dependency view
- Command-line tool for Go projects
- Requires Go 1.17 or newer
Ratings & Reviews
No ratings yet
Be the first to rate Goplantuml.
People also visit
Goplantuml FAQ
What does GoPlantUML produce?
PlantUML class diagrams of a Go project, showing its types, packages and relationships.
Which relationships are shown?
Interface implementation and type composition, according to the README.
What do I need?
Go 1.17 or newer. Installing places goplantuml in your GOPATH bin folder.
How do I view the diagram?
Render the PlantUML output locally with PlantUML, or paste it into an online PlantUML server.
What are the best Goplantuml alternatives?
Popular alternatives to Goplantuml include Go Plantuml, Py2puml and TsUML2. See all Goplantuml alternatives






