helper

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(haystack []string, needle string) (bool, int)

Contains returns true if the needle is within the haystack.

func DoesFileExist

func DoesFileExist(file string) bool

DoesFileExist returns true if the given file exists

func GenClassPath

func GenClassPath(elements ...string) string

GenClassPath concatenates the elements with ; on Windows with : on Linux

func GetSakuliHome added in v1.1.0

func GetSakuliHome() string

GetSakuliHome returns the sakulihome folder. First lookup: env: SAKULI_HOME Second: one folder above the binary

func GetSakuliRoot added in v1.1.0

func GetSakuliRoot() string

GetSakuliRoot returns the sakuliroot folder. lookup: env: SAKULI_ROOT

func IsRunningOnLinux

func IsRunningOnLinux() bool

IsRunningOnLinux returns true if the program is running on Linux

func IsRunningOnWindows

func IsRunningOnWindows() bool

IsRunningOnWindows returns true if the program is running on Windows

Types

This section is empty.

Jump to

Keyboard shortcuts

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