utils

package
v0.0.0-...-f6ca644 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindString

func FindString(slice []string, val string) (int, bool)

FindString function

func InArray

func InArray(arr interface{}, value interface{}) bool

InArray function

func InArrayFloat32

func InArrayFloat32(arr interface{}, v float32) bool

InArrayFloat32 function

func InArrayFloat64

func InArrayFloat64(arr interface{}, v float64) bool

InArrayFloat64 function

func InArrayInt

func InArrayInt(arr interface{}, v int) bool

InArrayInt function

func InArrayString

func InArrayString(arr interface{}, v string) bool

InArrayString function

func InterfaceSlice

func InterfaceSlice(slice interface{}) []interface{}

InterfaceSlice function

func Intersect

func Intersect(l1, l2 interface{}) (interface{}, error)

Intersect function

func PairValues

func PairValues(i, o interface{}, validate ...bool) error

PairValues function

func UnionArrayString

func UnionArrayString(a, b []string) []string

UnionArrayString function

func UniqueArrayString

func UniqueArrayString(intSlice []string) []string

UniqueArrayString function

func ValueIn

func ValueIn(l interface{}, v interface{}) bool

ValueIn function

Types

type Map

type Map map[string]interface{}

Map type

Directories

Path Synopsis
Package masker Provide mask format of Taiwan usually used(Name, Address, Email, ID ...etc.),
Package masker Provide mask format of Taiwan usually used(Name, Address, Email, ID ...etc.),

Jump to

Keyboard shortcuts

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