utils

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DepthQueryParam = int32(5)

DepthQueryParam is used in GET requests in Cloud API

Variables

This section is empty.

Functions

func ContainsStringInSlice

func ContainsStringInSlice(input []string, specific string) bool

ContainsStringInSlice will return true if the slice contains string

func ContainsStringSlices

func ContainsStringSlices(first, second []string) bool

ContainsStringSlices will return true if the second slice string contains string of the first slice string.

func IsEmptyValue

func IsEmptyValue(v reflect.Value) bool

IsEmptyValue checks if a value is empty or not. nolint

func IsEqStringMaps

func IsEqStringMaps(first, second map[string]string) bool

IsEqStringMaps will return true if the maps are equal

func IsEqStringSlices

func IsEqStringSlices(first, second []string) bool

IsEqStringSlices will return true if the slices are equal

func IsStringInSlice

func IsStringInSlice(input []string, specific string) bool

IsStringInSlice will return true if the slice contains the specific string

Types

This section is empty.

Jump to

Keyboard shortcuts

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