package
0.0.0-20241120183321-3ca17b759095
Repository: https://github.com/arumandesu/go-revise.git
Documentation: pkg.go.dev
# Functions
CalculatePaginationMetadata calculates the pagination metadata based on the total number of records, the current page, and the page size.
No description provided by the author
No description provided by the author
IsTagsEqual checks if two tags are equal.
NewPagination creates a new `Pagination` struct with default values if none are provided.
NewTags creates a new Tags object with the given tags.
ParseReviewInterval parses the review interval from a string separated by spaces.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Variables
ExampleInvalidTag is tag with more than the maximum number of characters.
ExampleInValidTags has more than the maximum number of tags.
ExampleValidTags is an example of valid tags.
# Structs
Pagination is the pagination configuration.
PaginationMetadata represents the metadata for paginated responses.
ReviewInterval represents the interval of time between reviews.
Tags represents a list of tags encapsulated in a struct.