convert

package
v1.7.18 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int2String

func Int2String(val int) string

Int2String convert int to string

func Int642String

func Int642String(val int64) string

Int642String convert int64 to string

func NSToTime

func NSToTime(ns int64) (time.Time, error)

NSToTime convert ns to time.Time

func String2Bytes

func String2Bytes(val string) []byte

String2Bytes convert string to []byte

func String2Int

func String2Int(val string) (int, error)

String2Int convert string to int

func String2Int64

func String2Int64(val string) (int64, error)

String2Int64 convert string to int64

func String2UInt64

func String2UInt64(val string) (uint64, error)

String2UInt64 convert string to uint64

func UInt642String

func UInt642String(val uint64) string

UInt642String convert uint64 to string

Types

This section is empty.

Jump to

Keyboard shortcuts

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