utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntArrayContains

func IntArrayContains(arr []int, num int) bool

IntArrayContains checks contains int in int array

func RoundFloat

func RoundFloat(input float64, decimals int) float64

RoundFloat rounds input float64 with decimals

func StringArrayContains

func StringArrayContains(arr []string, str string) bool

StringArrayContains checks contains string in string array

func StringArrayContainsForwardMatch

func StringArrayContainsForwardMatch(arr []string, str string) bool

StringArrayContainsForwardMatch checks contains string in string array with forward match

Types

This section is empty.

Jump to

Keyboard shortcuts

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