utils

package
v0.0.0-...-dde02fa Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileSize

func GetFileSize(filePath string) (int, error)

GetFileSize retrieves the size of the file with given file path

func PrintErr

func PrintErr(formatstr string, a ...interface{})

func PrintFatal

func PrintFatal(err error)

func PrintGreen

func PrintGreen(formatstr string, a ...interface{})

func PrintStatus

func PrintStatus(formatstr string, a ...interface{})

func PrintSuccess

func PrintSuccess(formatstr string, a ...interface{})

func PrintWarning

func PrintWarning(formatstr string, a ...interface{})

func RandomString

func RandomString(length int) string

randomString - generates random string of given length

Types

This section is empty.

Jump to

Keyboard shortcuts

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