package
0.0.0-20230402085424-01184fe98492
Repository: https://github.com/zhenggao2/ngapp.git
Documentation: pkg.go.dev

# Functions

CeilInt wraps math.Ceil and returns an int.
ContainsBool checks whether 't' exist in a slice if bool.
ContainsInt checks whether 't' exist in a slice of int.
ContainsStr checks whether 't' exists in a slice of string.
FloorInt wraps math.Floor and returns an int.
IndexBool returns the index of 't' in a slice of bool, and -1 if 't' is not contained in the slice.
IndexInt returns the index of 't' in a slice of int, and -1 if 't' is not contained in the slice.
IndexStr returns the index of 't' in a slice of string, and -1 if 't' is not contained in the slice.
MaxInt returns the maximum of a slice of int.
MaxInt2 returns the maximum and its index of a slice of int.
MinInt returns the minimum of a slice of int.
MinInt2 returns the minimum and its index of a slice of int.
NearestInt returns the largest number that less than t and the smallest number that greater than t.
NewOrderedMap function returns a pointer to the initialized OrderedMap.
NewZapLogger initializes then returns a zap.Logger.
PyRange returns a slice similar to python's range.
RoundInt returns a rounding int.
SumInt returns sum of a int slice.

# Structs

OrderedMap implements ordered map data structure.