utils

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureTrailingSlash

func EnsureTrailingSlash(path *string)

func IsDirEmpty

func IsDirEmpty(path string) (bool, error)

func NewUnixTimestamp added in v0.12.90

func NewUnixTimestamp() string

func ParseExtraVars added in v0.17.0

func ParseExtraVars(extraVars string) (extraVarsMap map[string]string, err error)

func ProtoString added in v0.12.0

func ProtoString(s string) *string

helper func to package strings up nicely for protobuf

func StringSliceContains added in v0.13.90

func StringSliceContains(s []string, str string) bool

func TimeTrack added in v0.19.90

func TimeTrack(start time.Time, name string, logger *logrus.Entry)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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