util

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUnique

func CheckUnique(data []string) string

check a slice for unique values, If founded non unique elements, returns a conflict element name. Else returns empty string

func InArray

func InArray(value string, arr []string) bool

InArray returns true, if value in arr

Types

This section is empty.

Jump to

Keyboard shortcuts

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