utils

package
v0.0.0-...-2c71c5b Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crypted

func Crypted(cryptedStr string) []byte

Crypted is encryption your string.

func DeCryptedStr

func DeCryptedStr(deCryptedStr []byte) string

DeCryptedStr is decryption your string

func GetCurrentTime

func GetCurrentTime() *time.Time

GetCurrentTime is get currently time.

func GetCurrentTimeByYYYYMMDD

func GetCurrentTimeByYYYYMMDD() string

GetCurrentTimeByYYYYMMDD is format time by YYYY-MM-DD

func GetCurrentTimeByYYYYMMDDHHMMSS

func GetCurrentTimeByYYYYMMDDHHMMSS() string

GetCurrentTimeByYYYYMMDDHHMMSS is format time by YYYY-MM-DD-HH-MM-SS

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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