common

package
v0.0.0-...-e2dd9e7 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateUUID

func GenerateUUID() (uuid string)

GenerateUUID generate uuid

func GetEnv

func GetEnv(key, defaultValue string) string

GetEnv get environment variable passing a default value

func GetFirstOfMonth

func GetFirstOfMonth() (time.Time, time.Time)

func ParseIfIsNaNOrInf

func ParseIfIsNaNOrInf(value float64) float64

ParseIfIsNaNOrInf parse to zero if value is NaN or Inf.

func ReadCsv

func ReadCsv(filename string) ([][]string, error)

ReadCsv function.

func RemoveAccents

func RemoveAccents(s string) string

func Unique

func Unique(slice []interface{}) []interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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