utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log *log.Logger
)

Functions

func ConvertSize

func ConvertSize(n int64) (ans string)

ConvertSize is Converting bytes into individual units

func InitLogger

func InitLogger(path string)

InitLogger is get a custom logger

func PathExists

func PathExists(path string) bool

PathExists is determine if a folder exists

Types

This section is empty.

Jump to

Keyboard shortcuts

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