utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckStringSliceEqual

func CheckStringSliceEqual(a, b []string) bool

CheckStringSliceEqual checks if the two slices provided are equal or not.

func DirExists

func DirExists(dir string) bool

DirExists checks if the provided directory exists or not.

func FileExists

func FileExists(file string) bool

FileExists checks if the file in the arguments exists or not

func RandToken

func RandToken(size uint32) string

RandToken generates a random toke string of the provided size

func TrimWorkflowPrefix

func TrimWorkflowPrefix(list []string, prefix string) []string

TrimWorkflowPrefix returns the list removing the prefix associated in each entry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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