mermaidgen is an object oriented approach to define mermaid graphics from Go code and render them to mermaid code.
Documentation: https://godoc.org/github.com/Heiko-san/mermaidgen
Package flowchart is used to generate mermaid flowchart graphs as defined at https://mermaidjs.github.io/flowchart.html.
Documentation: https://godoc.org/github.com/Heiko-san/mermaidgen/flowchart
Package gantt is used to generate mermaid gantt diagrams as defined at https://mermaidjs.github.io/gantt.html.
Documentation: https://godoc.org/github.com/Heiko-san/mermaidgen/gantt
Package sequence is used to generate mermaid sequence diagrams as defined at https://mermaidjs.github.io/sequenceDiagram.html.
Documentation: https://godoc.org/github.com/Heiko-san/mermaidgen/sequence