utils

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(condition bool, args ...interface{})

func DirExists added in v0.8.2

func DirExists(path string) bool

func FileExists added in v0.8.2

func FileExists(path string) bool

func FindPkgRoot

func FindPkgRoot(workDir string) (string, error)

func GoodPkgPath

func GoodPkgPath(path string) (string, error)

func TAssert

func TAssert(tb testing.TB, condition bool, args ...interface{})

func TAssertf

func TAssertf(tb testing.TB, condition bool, format string, a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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