Help us shape the future of Go! Take the 2026 Go Developer Survey

shared

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package shared provides types used across dashboard sub-packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PaginationMeta

type PaginationMeta struct {
	Total       int64
	Limit       int
	Offset      int
	CurrentPage int
	TotalPages  int
}

PaginationMeta holds pagination state for list pages.

func NewPaginationMeta

func NewPaginationMeta(total int64, limit, offset int) PaginationMeta

NewPaginationMeta computes pagination metadata from total count, limit, and offset.

Jump to

Keyboard shortcuts

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