utils

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnimeIsAdult

func AnimeIsAdult(isAdult bool) string

AnimeIsAdult is for colorful output

func AnimeSimilarity

func AnimeSimilarity(similarity string) string

AnimeSimilarity is for colorful output

func CreateLogFile

func CreateLogFile(logdir, logfile string) string

CreateLogFile function

func IsDirExists

func IsDirExists(path string) bool

IsDirExists function - check fi a directory exist in te system

func IsEmpty

func IsEmpty(value string) bool

IsEmpty function - check if a string is empty

func IsFileExists

func IsFileExists(name string) bool

IsFileExists function - check fi a file exist in te system

func MakeDirIfNotExist

func MakeDirIfNotExist(dir string)

MakeDirIfNotExist create a new directory if they not exist

func RenderMarkdown

func RenderMarkdown(text string) (string, error)

RenderMarkdown function that return a pretty markdown in output

func ShowHeader added in v1.11.2

func ShowHeader()

ShowHeader pretty print header information

Types

This section is empty.

Jump to

Keyboard shortcuts

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