utils

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAvailableUpdate

func CheckAvailableUpdate(currVersion string, output bool) (string, error)

func CheckIfFileExists

func CheckIfFileExists(file string) error

func DeleteEmpty

func DeleteEmpty(s []string) []string

func GetRelativeFilePathFromParentFile

func GetRelativeFilePathFromParentFile(parentFile string, file string) string

func LoadSuitesFromPath

func LoadSuitesFromPath(path string) ([]tests.Suite, error)

func LoadTestFromPath

func LoadTestFromPath(path string) (tests.Test, error)

func ParseBool

func ParseBool(s string) (bool, error)

func ParseFloat

func ParseFloat(s string) (float32, error)

func ValidFileTypes

func ValidFileTypes(file string, fileType string) error

func ValidateFileType

func ValidateFileType(file string, fileType string) error

func WriteFile

func WriteFile(b []byte, file string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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