general

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertIntInterfaceToString

func ConvertIntInterfaceToString(value interface{}) (string, error)

ConvertIntInterfaceToString tries to convert an interface value to string

func ConvertInterfaceToInt64

func ConvertInterfaceToInt64(value interface{}) int64

ConvertInterfaceToInt64 converts an interface value to int64

func InArray

func InArray(value interface{}, array interface{}) (bool, int)

InArray checks if a certain value exists inside the slice/array

func ReadConfigJson

func ReadConfigJson(configStruct interface{}, filePath string) error

ReadConfig Reads Settings file.

func RemoveDuplicate

func RemoveDuplicate(slice []string, verbose bool) []string

RemoveDuplicate remove duplicate entry in string array

Types

This section is empty.

Jump to

Keyboard shortcuts

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