common

package
v0.0.0-...-8e399c3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeMD5

func EncodeMD5(value string) string

EncodeMD5 md5 encryption

func EncodeSHA256

func EncodeSHA256(value string) string

func FileSize

func FileSize(s uint64) string

func StrVal

func StrVal(value interface{}) string

StrVal interface{} 转 string

func UuidV1

func UuidV1() (string, error)

func UuidV2G

func UuidV2G() (string, error)

func UuidV2P

func UuidV2P() (string, error)

func UuidV3

func UuidV3() (string, error)

func UuidV4

func UuidV4() string

func UuidV5

func UuidV5() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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