util

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPaginationOptsFromContext

func GetPaginationOptsFromContext(ctx context.Context) (int, int)

GetPaginationOptsFromContext gets the limit and offset from the context

func IsNilInterfaceOrPointer

func IsNilInterfaceOrPointer(sth interface{}) bool

IsNilInterfaceOrPointer checks if the given interface is nil or if it is a pointer and the pointer is nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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