bootstrap

package
v0.0.0-...-7018970 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDbPool

func NewDbPool(ctx context.Context, url string, connectTimeout time.Duration) (*pgxpool.Pool, error)

NewDbPool creates a new database connection pool with the provided context and configuration,

func NewLogger

func NewLogger(level string) *slog.Logger

NewLogger creates a new slog.Logger instance with the specified log level.

Types

This section is empty.

Jump to

Keyboard shortcuts

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