util

package
v0.0.0-...-c4b29bc Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeGBK

func DecodeGBK(s []byte) ([]byte, error)

DecodeGBK converts GBK to UTF-8

func HundredMillion

func HundredMillion(v float64) float64

HundredMillion converts to hundred million

func Midnight

func Midnight(t time.Time) time.Time

Midnight returns the midnight of t

func Str2Float64

func Str2Float64(str string) float64

Str2Float64 converts string to float64

func Str2Int64

func Str2Int64(str string) int64

Str2Int64 converts string to int64

func Trillion

func Trillion(v float64) float64

Trillion converts to trillion

Types

This section is empty.

Jump to

Keyboard shortcuts

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