utils

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyStruct

func CopyStruct[T any](src *T) (*T, error)

func GetIdFormat

func GetIdFormat() string

func GetTimeFormat

func GetTimeFormat() string

func GetTimestamp

func GetTimestamp() int64

Types

type Ctx

type Ctx struct {
	// contains filtered or unexported fields
}

func (*Ctx) CtxCancel

func (c *Ctx) CtxCancel()

func (*Ctx) GetCtx

func (c *Ctx) GetCtx() context.Context

func (*Ctx) HasCancelFun

func (c *Ctx) HasCancelFun() bool

Directories

Path Synopsis
Package bitUtils *
Package bitUtils *
Package cryptoUtils *
Package cryptoUtils *
Package netUtils
Package netUtils
Package pubsub *
Package pubsub *
package unique 对象唯一ID
package unique 对象唯一ID

Jump to

Keyboard shortcuts

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