utilities

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BtoMB

func BtoMB(b uint64) uint64

BtoMB Convert the bytes to MegaBytes

func CallClear

func CallClear()

CallClear clears the screen based on the operating system

func GetCurrentPath

func GetCurrentPath() (string, error)

GetCurrentPath Get the current path where the file is running

func GetRootProjectPath

func GetRootProjectPath() string

GetRootProjectPath Get the root path of the project where the tests are running Used for referencing the test files from the project_folder/test_files

func PrintMemUsage

func PrintMemUsage()

PrintMemUsage outputs the current and OS memory being used. As well as the number of garage collection cycles completed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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