Documentation ¶
Index ¶
- func ApplyParallel(start, end int, fnc func(start, end int))
- func GetContentTypeByReadSeeker(reader io.ReadSeeker) string
- func GetOsEnv(key, defaultdata string) string
- func GetOsEnvInt(key string, defaultdata int) int
- func InRanged(value, min, max float64) float64
- func IntArrayContains(arr []int, num int) bool
- func RoundFloat(input float64, decimals int) float64
- func StringArrayContains(arr []string, str string) bool
- func StringArrayContainsForwardMatch(arr []string, str string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyParallel ¶ added in v1.4.1
ApplyParallel is apply each funcs parallelly
func GetContentTypeByReadSeeker ¶ added in v1.3.1
func GetContentTypeByReadSeeker(reader io.ReadSeeker) string
GetContentTypeByReadSeeker is get content type by Readseeker
func GetOsEnvInt ¶ added in v1.1.1
GetOsEnvInt is get os env with default value converting to int
func IntArrayContains ¶
IntArrayContains checks contains int in int array
func RoundFloat ¶
RoundFloat rounds input float64 with decimals
func StringArrayContains ¶
StringArrayContains checks contains string in string array
func StringArrayContainsForwardMatch ¶
StringArrayContainsForwardMatch checks contains string in string array with forward match
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.