YZ576023775 / go-package-plantuml

Modified from qquunn/go-package-plantuml. A cmd tool to parse plantUML file from go package.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#go-package-plantuml

修改

  • 默认通过环境变量获取GOPATH
  • 输出目标参数功能修正
  • 兼容Windows路径
  • 输出全部改为英文

Install

go get github.com\Pingze-github\go-package-plantuml
go build github.com\Pingze-github\go-package-plantuml

Usage

Parse a golang package into a .puml file:

go-package-plantuml  --gopath $GOPATH --codedir $GOPATH\src\github.com\micro\go-micro --outputfile $GOPATH\src\github.com\micro\go-micro.puml

Compile the .puml file into a .svg image:

java -jar C:\jars\plantuml.jar -tsvg go-micro.puml

(Download plantuml.jar here)

You will got this:

go-micro.svg

About

Modified from qquunn/go-package-plantuml. A cmd tool to parse plantUML file from go package.

License:MIT License


Languages

Language:Go 100.0%