utils

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIfNotExists added in v0.3.4

func CreateIfNotExists(path string, mode os.FileMode, fs afero.Fs) error

CreateIfNotExists examines a path and if it is not present, creates the passed file type for the given path

func StringInSlice

func StringInSlice(s string, sl []string) bool

StringInSlice checks whether a given string is in a slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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