common

package
v0.0.0-...-795570d Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(e error)

func Even

func Even(number int) bool

func ExtractTeamsFrom

func ExtractTeamsFrom(url string) (string, string, string)

func GenerateEventID

func GenerateEventID(url string) string

func Hash

func Hash(value string) uint32

func HashFrom

func HashFrom(seed string) string

func InSlice

func InSlice(value, slice interface{}) bool

func IsError

func IsError(e error) bool

func IsFormationNumber

func IsFormationNumber(value string) bool

func IsTimeCounter

func IsTimeCounter(value string) bool

func Mask

func Mask(s string) string

func NormalizeDay

func NormalizeDay(day string) string

func NormalizeMonth

func NormalizeMonth(name string) string

func Now

func Now() time.Time

func RegisterTime

func RegisterTime(timeType string, requestId int)

func Remove

func Remove(slice []string, element string) []string

func UTC

func UTC(time time.Time) string

func WaitGroup

func WaitGroup(delta int) *sync.WaitGroup

Types

This section is empty.

Jump to

Keyboard shortcuts

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