pkg/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MIT

Directories

Path Synopsis
communication
http
Package http contains several tools for dealing with http such as writing different kinds out content types and error handling.
Package http contains several tools for dealing with http such as writing different kinds out content types and error handling.
ws
Package ws contains several tools for dealing with websockets such as easily setting these up error handling.
Package ws contains several tools for dealing with websockets such as easily setting these up error handling.
Package config provides functions which can be used to extract environment variables and parse them to the right type.
Package config provides functions which can be used to extract environment variables and parse them to the right type.
Package context provides functions which can be used to set/get values to/from context.Context.
Package context provides functions which can be used to set/get values to/from context.Context.
Package database provides database agnostic helpers.
Package database provides database agnostic helpers.
postgres
Package postgres provides several github.com/jackc/pgx related helpers for interacting with postgres.
Package postgres provides several github.com/jackc/pgx related helpers for interacting with postgres.
Package errors contains reusable error messages and other helpers for dealing with errors.
Package errors contains reusable error messages and other helpers for dealing with errors.
Package logging contains helpers for logging.
Package logging contains helpers for logging.
Package middleware provides configureable middleware and predefined lists, such as [Minimal], [Default] and [DefaultWithSentry].
Package middleware provides configureable middleware and predefined lists, such as [Minimal], [Default] and [DefaultWithSentry].
Package parse contains helper functions for parsing different kinds of URL and Query parameters.
Package parse contains helper functions for parsing different kinds of URL and Query parameters.
Package sentry contains all sorts of tools for using Sentry.
Package sentry contains all sorts of tools for using Sentry.
Package test provides multiple tools to write tests faster and keep them simple.
Package test provides multiple tools to write tests faster and keep them simple.
Package time provides helpers for dealing with time.
Package time provides helpers for dealing with time.
Package validate provides an easy way to validate the data contained in structs, typically being DTOs containing user input.
Package validate provides an easy way to validate the data contained in structs, typically being DTOs containing user input.

Jump to

Keyboard shortcuts

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