internal

package
v0.0.727 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertYAMLMapKeyTypes

func ConvertYAMLMapKeyTypes(x any, path ...string) any

func Merge

func Merge(a, b any) any

func MergeMaps added in v0.0.683

func MergeMaps(a, b map[string]any) map[string]any

func Must

func Must(err error)

func Must2 added in v0.0.683

func Must2[T any](value T, err error) T

func ToRawInterface

func ToRawInterface(value any) (any, error)

Types

type TableWriter

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

func MakeTableWriter

func MakeTableWriter(w io.Writer) TableWriter

func (TableWriter) Flush

func (tw TableWriter) Flush()

func (TableWriter) Row

func (tw TableWriter) Row(args ...any)

func (TableWriter) Text

func (tw TableWriter) Text(value string)

func (TableWriter) Textf

func (tw TableWriter) Textf(format string, args ...any)

func (TableWriter) Textln

func (tw TableWriter) Textln(value string)

func (TableWriter) Write

func (tw TableWriter) Write(data []byte) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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