helper

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2017 License: Apache-2.0 Imports: 6 Imported by: 3

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 GetSahiHome

func GetSahiHome() string

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

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