utils

package
v0.0.0-...-f6eb2dc Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 7 Imported by: 3

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