data

package
v0.0.0-...-25c83c6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatBytes

func FormatBytes(size float64, unit string) string

func FormatSeconds

func FormatSeconds(seconds int, unit string) int

func TitleContextLine

func TitleContextLine(title string, length int, symbol, context string) string

Types

type Data

type Data struct {
	Format string
	Data   []any
}

func (*Data) String

func (d *Data) String() string

Jump to

Keyboard shortcuts

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