All Projects → bykof → Go Plantuml

bykof / Go Plantuml

Licence: mit
Generate plantuml diagrams from go source files or directories

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Go Plantuml

Arkit
JavaScript architecture diagrams and dependency graphs
Stars: ✭ 671 (+301.8%)
Mutual labels:  generate, plantuml, diagram
plantuml2mysql
This utility parses PlantUML class diagram and generates SQL DDL for MySQL
Stars: ✭ 110 (-34.13%)
Mutual labels:  diagram, plantuml
C4-PlantumlSkin
This library provides skinning to create C4 diagrams using PlantUml
Stars: ✭ 74 (-55.69%)
Mutual labels:  diagram, plantuml
erdiagram
Entity-Relationship diagram code generator library
Stars: ✭ 28 (-83.23%)
Mutual labels:  diagram, plantuml
C4 Plantuml
C4-PlantUML combines the benefits of PlantUML and the C4 model for providing a simple way of describing and communicate software architectures
Stars: ✭ 3,522 (+2008.98%)
Mutual labels:  plantuml, diagram
Azure Plantuml
PlantUML sprites, macros, and other includes for Azure services
Stars: ✭ 247 (+47.9%)
Mutual labels:  plantuml, diagram
PlantUml-Language-Service
PlantUml Language Service extension for Visual Studio 2017 and 2019
Stars: ✭ 24 (-85.63%)
Mutual labels:  diagram, plantuml
Plantuml Icon Font Sprites
plantuml-font-icon-sprites
Stars: ✭ 242 (+44.91%)
Mutual labels:  plantuml, diagram
idle
parse source code(objective-c, java) generate uml(class diagram)
Stars: ✭ 44 (-73.65%)
Mutual labels:  diagram, plantuml
Umldoclet
Automatically generate PlantUML diagrams in javadoc
Stars: ✭ 138 (-17.37%)
Mutual labels:  plantuml, diagram
Goplantuml
PlantUML Class Diagram Generator for golang projects
Stars: ✭ 352 (+110.78%)
Mutual labels:  plantuml, diagram
Jekyll Spaceship
🚀 A Jekyll plugin to provide powerful supports for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc.
Stars: ✭ 196 (+17.37%)
Mutual labels:  plantuml, diagram
PlantUml.Net
a .Net wrapper for PlantUml
Stars: ✭ 35 (-79.04%)
Mutual labels:  diagram, plantuml
plantuml-libs
A set of PlantUML libraries and a NPM cli tool to design diagrams which focus on several technologies/approaches: Amazon Web Services (AWS), Azure, Google Cloud Platform (GCP), C4 Model or even EventStorming and more.
Stars: ✭ 75 (-55.09%)
Mutual labels:  diagram, plantuml
Aws Plantuml
PlantUML sprites, macros, and other includes for AWS components.
Stars: ✭ 565 (+238.32%)
Mutual labels:  plantuml, diagram
Asciidoctor Kroki
Asciidoctor.js extension to convert diagrams to images using Kroki!
Stars: ✭ 55 (-67.07%)
Mutual labels:  plantuml, diagram
Quiver
A modern commutative diagram editor for the web.
Stars: ✭ 1,799 (+977.25%)
Mutual labels:  diagram
Generatefindviewbyid
【暂停更新-20171212】Android Studio Plugin, Can input, can be selected to auto generator findViewById code in Activity or etc, support ButterKnife(version 8.4.0), support ViewHolder.
Stars: ✭ 145 (-13.17%)
Mutual labels:  generate
Vim Boxdraw
An ASCII box drawing plugin for Vim
Stars: ✭ 122 (-26.95%)
Mutual labels:  diagram
Docx
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
Stars: ✭ 2,150 (+1187.43%)
Mutual labels:  generate

go-plantuml

Build Status Go Report Card

go-plantuml generates plantuml diagrams from go source files or directories.

Installation

go get -u github.com/bykof/go-plantuml

Please consider that $GOPATH/bin should be on our $PATH.

Usage

Usage:
  go-plantuml [command]

Available Commands:
  generate    Generate a plantuml diagram from given paths
  help        Help about any command

Flags:
  -h, --help     help for go-plantuml
  -t, --toggle   Help message for toggle

Use "go-plantuml [command] --help" for more information about a command.

Usage:
  go-plantuml generate [flags]

Flags:
  -d, --directories strings   the go source directories (default [.])
  -f, --files strings         the go source files
  -h, --help                  help for generate
  -o, --out string            the graphfile (default "graph.puml")
  -r, --recursive             traverse the given directories recursively

Example

For example we have to files in the directory test.

// address.go
package models

type (
	Address struct {
		Street        string
		City          string
		PostalCode    string
		Country       string
		CustomChannel chan string
		AnInterface   *interface{}
	}
)

func (address Address) FullAddress(withPostalCode bool) string {
	return ""
}
// user.go
package models

import "github.com/bykof/go-plantuml/test/address/models"

type (
	User struct {
		FirstName      string
		LastName       string
		Age            uint8
		Address        *models.Address
		privateAddress models.Address
	}
)

func (user *User) SetFirstName(firstName string) {
	user.FirstName = firstName
}

Then we run go-plantuml generate or go-plantuml generate -d . -o graph.puml.

This will create a graph.puml file and check for .go files inside your current directory.

Which looks like this:

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].