util

package
v1.36.4 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 6 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 ConvertAnyToStr added in v1.29.0

func ConvertAnyToStr(input any) (string, error)

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)

func TranslateBedrockModelToAnthropicModel added in v1.36.0

func TranslateBedrockModelToAnthropicModel(model string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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