utils

package
v1.62.303 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 13 Imported by: 75

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMD5Base64

func GetMD5Base64(bytes []byte) (base64Value string)

func GetTimeInFormatISO8601

func GetTimeInFormatISO8601() (timeStr string)

func GetTimeInFormatRFC2616

func GetTimeInFormatRFC2616() (timeStr string)

func GetUUID

func GetUUID() (uuidHex string)

func GetUrlFormedMap

func GetUrlFormedMap(source map[string]string) (urlEncoded string)

func InitStructWithDefaultTag

func InitStructWithDefaultTag(bean interface{})

func RandStringBytes

func RandStringBytes(n int) string

Types

type Debug

type Debug func(format string, v ...interface{})

func Init

func Init(flag string) Debug

type UUID

type UUID [16]byte

func NewUUID

func NewUUID() UUID

func (UUID) String

func (u UUID) String() string

Jump to

Keyboard shortcuts

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