package
Version:
v0.0.0-...-c5a7534
Opens a new window with list of versions in this module.
Published: Feb 23, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
FormatBytes format bytes to TiB, GiB, MiB, KiB depending on the size
func PrettyPrint(i interface{}) string
PrettyPrint a struct, used for debugging
Wrap `s` around start and end, returns <start>s<end>
Pad holds the pad char and its number of spaces a map as well as the string itself
type StringSet map[string]struct{}
StringSet a set for strings, useful for keeping track of elements
Contains returns true if `v` is in the set
FromList returns a `StringSet` with the input list's contents
Source Files
¶
Click to show internal directories.
Click to hide internal directories.