container

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pair added in v0.1.0

type Pair[T1, T2 any] struct {
	First  T1
	Second T2
}

func MakePair added in v0.1.0

func MakePair[T1, T2 any](first T1, second T2) Pair[T1, T2]

type TreeFormatter

type TreeFormatter struct {
	Prefix string
	Debug  bool
	Color  bool

	IconParent     string // default "│  "
	IconSpace      string // default "   "
	IconBranch     string // default "├──"
	IconLastBranch string // default "└──"
}

TreeFormatter contains options for formatting Tree

func (*TreeFormatter) Fix

func (formatter *TreeFormatter) Fix()

Directories

Path Synopsis
Package heap provides heap operations for any type that implements heap.Interface.
Package heap provides heap operations for any type that implements heap.Interface.

Jump to

Keyboard shortcuts

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