render

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SequenceDiagram

func SequenceDiagram(tx *vsl.Transaction) string

SequenceDiagram returns an string representing a Mermaid's sequence diagram

func TxTree

func TxTree(tx *vsl.Transaction) string

Types

type CustomBuilder

type CustomBuilder struct {
	strings.Builder
}

func (*CustomBuilder) PadAdd

func (b *CustomBuilder) PadAdd(s string)

PadAdd is a helper function to append a fixed padding to the string

Jump to

Keyboard shortcuts

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