cgx

package
v0.0.0-...-91ffa7f Latest Latest
Warning

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

Go to latest
Published: May 25, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calcpage

func Calcpage(page int) (int, int)

get offset and limit for paging

func CgxByteToString

func CgxByteToString(text []byte) string

func CgxGenerateNumber

func CgxGenerateNumber(length int) string

func CgxGenerateString

func CgxGenerateString(length int) string

func CgxNow

func CgxNow() time.Time

func CgxNowAdd

func CgxNowAdd(minutes int) time.Time

func CgxSha256

func CgxSha256(text string) string

generate hash

func CgxSha512

func CgxSha512(text string) string

generate hash

func StringWithCharset

func StringWithCharset(length int, charset string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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