delegate

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendIf

func AppendIf(array []string, flag string, value bool) []string

func AppendIfFilled

func AppendIfFilled(array []string, flag, value string) []string

func AppendPairedIfFilled added in v1.5.0

func AppendPairedIfFilled(array []string, flag, value string) []string

func ExecCommand

func ExecCommand(cmd *exec.Cmd) error

Types

type ExecError

type ExecError struct {
	Command   *exec.Cmd
	ExecError error
}

ExecError holds command and its result

func (*ExecError) Error

func (e *ExecError) Error() string

Jump to

Keyboard shortcuts

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