util

package
v0.0.0-...-240e426 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandWithLog

func CommandWithLog(cmd string, args ...string) *exec.Cmd

func GetFreePort

func GetFreePort() (int, error)

func LogAndReturn

func LogAndReturn(logFunc func(msg interface{}, keyvals ...interface{}), message string, err error) error

func MoveDirectory

func MoveDirectory(source, destination string) error

func PrintFilePaths

func PrintFilePaths(folderPath string) error

func ReadNameFromJSONFile

func ReadNameFromJSONFile(filePath string) (string, error)

func StopProcessTree

func StopProcessTree(pid int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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