utils

package
v0.0.0-...-e6cb9b4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChanUniqueString = make(chan string)

Functions

func GenerateRandomString

func GenerateRandomString(n int, letters string) (string, error)

func GetIntIdxInArray

func GetIntIdxInArray(iValueBuffer int, arBuffer []int) int

func GetRandInt

func GetRandInt(iMin int, iMax int) (int, error)

func GetRandIntFromArray

func GetRandIntFromArray(arBuffer []int) int

func GetStringIdxInArray

func GetStringIdxInArray(sValueBuffer string, arBuffer []string) int

func InsertDots

func InsertDots(s string, n int) string

func MaxValInt

func MaxValInt(val1 int, val2 int) int

func MaxValInt64

func MaxValInt64(val1 int64, val2 int64) int64

func MinValInt

func MinValInt(val1 int, val2 int) int

func RemoveIntFromArray

func RemoveIntFromArray(iValue int, arBuffer []int) []int

func StringContainsCI

func StringContainsCI(sSearch string, sHeystack string) bool

func Watchers

func Watchers()

Types

This section is empty.

Jump to

Keyboard shortcuts

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