Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 545 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 545 Bytes

shell

shell collection

1.绘制golang类图

link github.com/Pingze-github/go-package-plantuml

// 1.download and build plantuml
go get github.com/Pingze-github/go-package-plantuml
go build github.com/Pingze-github/go-package-plantuml 

// 2. install java(path), graphviz 

// 3. download jar package 
将 plantuml.sh L17 中改为plantuml.jar 的地址

使用:

sh plantuml.sh [code dir] [outputdir]

sh plantuml ~/go/src/projectname ~/outputdir

plant example: