supermicah / go-mod-graph-chart

Draw graphs through GO MOD GRAPH output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

English | 中文

go-recipes

go-mod-graph-chart

A tool build chart by go mod graph output with zero dependencies

Install

$ go get -u github.com/PaulXu-cn/go-mod-graph-chart/gmchart

Go v1.16 or higher

$ go install github.com/PaulXu-cn/go-mod-graph-chart/gmchart@latest

Usage

$ cd goProject
$ go mod graph | gmchart

The program will start a http server and open the url in default browser.

show

Change & Rebuild

If you has changed js code, the front-end project needs to be rebuilt,and then go install

$ npm run build 
$ go install ./gmchart

License

MIT

About

Draw graphs through GO MOD GRAPH output

License:MIT License


Languages

Language:Go 98.5%Language:JavaScript 1.4%Language:CSS 0.1%Language:HTML 0.0%