roshantool

package
v0.0.0-...-6384d94 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InnerLog func(info string, err error)

InnerLog record the inner log of roshan

Functions

func CloseLog

func CloseLog()

CloseLog ...

func CreateLog

func CreateLog(file string)

CreateLog ...

func GetFileMD5

func GetFileMD5(path string) string

GetFileMD5 get file md5

func Print

func Print(v ...interface{})

Print ...

func PrintErr

func PrintErr(method, err string)

PrintErr ...

func PrintQuitStack

func PrintQuitStack()

PrintQuitStack print current stack trace when stopped. this function should only be used for debugging

func Printf

func Printf(format string, v ...interface{})

Printf ...

func Println

func Println(v ...interface{})

Println ...

func Stopwatch

func Stopwatch(msg string) func()

Stopwatch time the function execute usage: defer Stopwatch("functionname")()

Types

This section is empty.

Jump to

Keyboard shortcuts

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