util

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual added in v0.0.3

func AssertEqual(t *testing.T, a interface{}, b interface{})

AssertEqual checks if values are equal

func GetEnvVar

func GetEnvVar(varName string) string

Gets enviroment variable if available throws error if not available

func MkPathFromStr added in v0.0.3

func MkPathFromStr(pathStr string) string

func NewConfig added in v0.0.3

func NewConfig(configPath string) (*types.SearchConfig, error)

NewConfig returns a new decoded Config struct

func ValidateConfigPath added in v0.0.3

func ValidateConfigPath(path 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