Help us shape the future of Go! Take the 2026 Go Developer Survey

mermaid

package
v2.950.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MermaidAST

type MermaidAST struct {
	// contains filtered or unexported fields
}

func NewMermaidAST

func NewMermaidAST() *MermaidAST

func (*MermaidAST) Render

func (m *MermaidAST) Render(opts ...RenderOpts) string

func (*MermaidAST) Visit

func (m *MermaidAST) Visit(t *ast.TypeDef)

type MermaidEdge

type MermaidEdge struct {
	From *ast.TypeDef
	To   *ast.TypeDef
}

type RenderOpts

type RenderOpts struct {
	ShouldIncludeEdge func(edge MermaidEdge) bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL