Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartChildProcess

func StartChildProcess(c *exec.Cmd)

StartChildProcess starts a monitored child process. It executes the given command, and sets up a channel to capture os signals to pass to the child process.

func SyncDirectory

func SyncDirectory(srcDir, destDir string, isVerbose bool) error

SyncDirectory checks the source directory, and recursively syncs it's files to the destination directory. It checks the file last modification time to verify if the file has been modified, and copies the newer file from the source to the destination.

Types

This section is empty.

Directories

Path Synopsis
Package config is a helper package to facilitate getting and setting config values using Viper.
Package config is a helper package to facilitate getting and setting config values using Viper.
package log is a wrapper around colorizing the log output.
package log is a wrapper around colorizing the log output.

Jump to

Keyboard shortcuts

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