package
0.0.0-20230226084522-4562c8eb967a
Repository: https://github.com/rahulsidpatil/golang-basic-exercises.git
Documentation: pkg.go.dev

# Functions

Colors is used to enable/disable the color data from the output.
Show prints slices view.

# Variables

ColorAddr sets the color for the element addresses.
ColorBacker sets the color for the backing array's items.
ColorHeader sets the color for the header.
ColorIndex sets the color for the index numbers of the elements.
ColorSlice sets the color for the slice's items.
MaxElements limits the number of elements printed 0 means print all the elements.
MaxPerLine is maximum number of slice items on a line.
NeatByteRune prints byte and rune elements as chars.
NormalizePointers prints pointers as if they're contiguous.
PrintBacking prints the backing array if it's true.
PrintBytesHex prints byte elements as hex digits.
PrintElementAddr prints the addresses of each element.
PrintHex prints the pointers in hexadecimals When it's false, only the last 4 digits of the pointers will be printed as decimals.
SpaceCharacter gets printed when a space character is found.
Width is the width of the header It will separate the header message and the slice details with empty spaces.
Writer controls where to draw the slices.