package
0.0.0-20230501113000-8fc54059b7dd
Repository: https://github.com/bsteffaniak/lazyaws.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
Decolorise strips a string of color.
EscapeSpecialChars - Replaces all special chars like \n with \\n.
returns the path of the file that calls the function.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetCurrentRepoName gets the repo's base name.
GetProjectRoot returns the path to the root of the project.
No description provided by the author
No description provided by the author
No description provided by the author
Loader dumps a string to be displayed as a loader.
No description provided by the author
Min returns the minimum of two integers.
used to keep a number n between 0 and max, allowing for wraparounds.
Returns a new slice with the element at index 'from' moved to index 'to'.
No description provided by the author
No description provided by the author
Similar to a regular GroupBy, except that each item can be grouped under multiple keys, so the callback returns a slice of keys instead of just one key.
No description provided by the author
No description provided by the author
No description provided by the author
NewDummyLog creates a new dummy Log for testing.
No description provided by the author
No description provided by the author
NextIndex returns the index of the element that comes after the given number.
NextIntInCycle returns the next int in a slice, returning to the first index if we've reached the end.
NormalizeLinefeeds - Removes all Windows and Mac style line feeds.
PrevIndex returns the index that comes before the given number, cycling if we reach the end.
PrevIntInCycle returns the prev int in a slice, returning to the first index if we've reached the end.
No description provided by the author
No description provided by the author
ResolvePlaceholderString populates a template with values.
No description provided by the author
Safe will close tcell if a panic occurs so that we don't end up in a malformed terminal state.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SplitLines takes a multiline string and splits it on newlines currently we are also stripping \r's which may have adverse effects for windows users (but no issues have been raised yet).
No description provided by the author
No description provided by the author
No description provided by the author
TruncateWithEllipsis returns a string, truncated to a certain length, with an ellipsis.
No description provided by the author
No description provided by the author
WithPadding pads a string as much as you want.
WrapError wraps an error for the sake of showing a stack trace at the top level the go-errors package, for some reason, does not return nil when you try to wrap a non-error, so we're just doing it here.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author