pretty

package
v6.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max[T cmp.Ordered](a T, b T) T

func RepeatString

func RepeatString(n int, s string) string

Types

type MarkdownTable

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

func NewMarkdownTable

func NewMarkdownTable(cols int) *MarkdownTable

func (*MarkdownTable) Format

func (t *MarkdownTable) Format() string

func (*MarkdownTable) Heading

func (t *MarkdownTable) Heading(h ...string)

func (*MarkdownTable) Row

func (t *MarkdownTable) Row(c ...string)

Jump to

Keyboard shortcuts

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