utils

package
v0.0.0-...-55a620b Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AToInt64

func AToInt64(s string) (int64, error)

func DToF64

func DToF64(d decimal.Decimal) float64

func DecimalAscComparator

func DecimalAscComparator(a, b interface{}) int

func DecimalDescComparator

func DecimalDescComparator(a, b interface{}) int

func F64ToA

func F64ToA(f float64) string

func I64ToA

func I64ToA(i int64) string

func Int32ToString

func Int32ToString(i int32) string

func IntToA

func IntToA(i int) string

func MinInt

func MinInt(a, b int) int

func SnakeCase

func SnakeCase(s string) string

func StartPosOfTime

func StartPosOfTime(unixTime int64, granularity int64) int64

func StringToFloat64

func StringToFloat64(s string) (float64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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