util

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDir

func IsDir(path string) bool

func IsPathExists

func IsPathExists(path string) bool

func ResolveRealAbsPath

func ResolveRealAbsPath(path string) (string, error)

func SleepContext

func SleepContext(ctx context.Context, duration time.Duration)

func StringP

func StringP(str string) *string

func Truncate

func Truncate(str *string, maxLength int) *string

Types

type ValidationError

type ValidationError multierror.Error

func (*ValidationError) Error

func (v *ValidationError) Error() string

Jump to

Keyboard shortcuts

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