utils

package
v0.0.0-...-8f072b4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertDeepEqual

func AssertDeepEqual(t *testing.T, a interface{}, b interface{}, message string)

func AssertEqual

func AssertEqual(t *testing.T, a interface{}, b interface{}, message string)

func FileExists

func FileExists(filename string) bool

func FileNotEmpty

func FileNotEmpty(filename string) bool

func LogMustRotate

func LogMustRotate(logfile string, maxSize int64) (bool, error)

func Rotate

func Rotate(filename string, tmpFilename string) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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