conv

package
v0.0.0-...-d22e7c3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyToString

func AnyToString(n interface{}, p ...int) string

AnyToString convert type (int, int64, float32, float64, byte, and []bytes) to string BEWARE: do not use this function for a very spesific usecase

func Float64ToString

func Float64ToString(f float64, precission int) string

Float64ToString return string form of float64

func Int64ToString

func Int64ToString(i int64) string

Int64ToString return string form of int64

func StringToInt64

func StringToInt64(i string) (int64, error)

StringToInt64 convert string to int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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