common

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorSliceStringGreen

func ColorSliceStringGreen(slice []string, item string) []string

ColorSliceStringGreen takes in a slice and a string. It will find the string in the slice and color it green.

func PrintStringWithMore

func PrintStringWithMore(text string) error

PrintStringWithMore will write text to a temp file and read it with the `less -mX FILENAME` cmd.

func RemoveGreenStringFormatting

func RemoveGreenStringFormatting(s string) string

RemoveGreenStringformatting will take the green formatting out of the string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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