util

package
v1.26.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STRING_CORRELATION_ID string = "correlationId"
	STRING_LOG            ctxKey = "log"
)

Variables

This section is empty.

Functions

func GetLogFromCtx added in v1.25.1

func GetLogFromCtx(c *gin.Context) *zap.Logger

func NewUuid

func NewUuid() string

func SetLogToCtx added in v1.25.2

func SetLogToCtx(c *gin.Context, logger *zap.Logger)

Types

This section is empty.

Jump to

Keyboard shortcuts

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