Documentation ¶
Index ¶
- func Close(err error, closer io.Closer) error
- func StringSliceContains(slice []string, items []string) bool
- func StringSliceExists(slice []string, item string) bool
- func StringSliceUniqueAdd(slice *[]string, item string) bool
- func WithFile(name string, flag int, perm os.FileMode, consumer func(out io.Writer) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringSliceContains ¶
StringSliceContains --
func StringSliceExists ¶
StringSliceExists --
func StringSliceUniqueAdd ¶
StringSliceUniqueAdd append the given item if not already present in the slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.