math

package
Version: v1.2.15 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustBool added in v1.2.3

func MustBool(x string) bool

MustBool defined TODO

func MustFloat32 added in v1.2.3

func MustFloat32(x string) float32

MustFloat32 defined TODO

func MustFloat64 added in v1.2.3

func MustFloat64(x string) float64

MustFloat64 defined TODO

func MustInt added in v1.2.3

func MustInt(x string) int

MustInt defined TODO

func MustInt16 added in v1.2.3

func MustInt16(x string) int16

MustInt16 defined TODO

func MustInt32 added in v1.2.3

func MustInt32(x string) int32

MustInt32 defined TODO

func MustInt64 added in v1.2.3

func MustInt64(x string) int64

MustInt64 defined TODO

func MustInt8 added in v1.2.3

func MustInt8(x string) int8

MustInt8 defined TODO

func MustTime added in v1.2.3

func MustTime(x string, layout string) time.Time

MustTime defined TODO

func ParseBool

func ParseBool(target interface{}, num ...bool) bool

ParseBool defined

func ParseFloat64

func ParseFloat64(target interface{}, num ...float64) float64

ParseFloat64 defined

func ParseInt64

func ParseInt64(target interface{}, num ...int64) int64

ParseInt64 defined

func ParseUInt64

func ParseUInt64(target interface{}, num ...uint64) uint64

ParseUInt64 defined

func Round

func Round(f float64, n int) float64

Round defined

func SafeMul

func SafeMul(a, b uint) uint

SafeMul defined

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL