utils

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLog

func NewLog(c echo.Context) *zerolog.Logger

NewLog creates a new logger with context from echo.Context

func NewMap

func NewMap[T comparable, V any](slice []T, value V) map[T]V

NewMap creates a map from a slice of keys to a single value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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