util

package
v0.0.0-...-b7fc2af Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(items []string, s string) bool

ContainsString tests if a string is in items.

func DirExists

func DirExists(path string) bool

DirExists tests if path is a directory.

func ExecCommand

func ExecCommand(name string, args ...string) error

ExecCommand executes a command.

func FileExists

func FileExists(path string) bool

FileExists tests if path is a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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