common

package
v1.0.0-beta.43 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPageDescriptionFromSearchParams

func GetPageDescriptionFromSearchParams(queryParams *datastore.QueryParams, count int64) response.PageDescription

GetPageDescriptionFromSearchParams - returns a PageDescription based on the provided SearchParams

func MapToTypeContracts

func MapToTypeContracts[T any, U any](input []T, mapper func(T) U) []U

MapToTypeContracts is a generic function that maps elements from one slice to another.

Types

This section is empty.

Jump to

Keyboard shortcuts

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