utils

package
v1.0.58 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

func CheckFileExists

func CheckFileExists(filepath string) bool

func CreateFolder

func CreateFolder(folderPath string) error

func MoveFile added in v1.0.14

func MoveFile(sourcePath, destPath string) error

func RandStringBytes

func RandStringBytes(n int) string

func ReadLastNBtyesFromFile added in v1.0.14

func ReadLastNBtyesFromFile(fname string, nbytes int64) (string, error)

func TwoFASecretGenerator added in v1.0.12

func TwoFASecretGenerator(n int) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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