package
0.0.0-20241212210152-128162bacc65
Repository: https://github.com/awanishnathpandey/leaf.git
Documentation: pkg.go.dev

# Functions

CalculateHasNextPage determines if there are more pages based on offset, current length, and total count.
No description provided by the author
No description provided by the author
FormatValidationErrors takes a validation error and returns a user-friendly message.
GenerateCursor generates a cursor string for pagination.
GenerateJWT generates a JWT token for a given user ID.
GenerateJWT generates a JWT token for a given user ID.
No description provided by the author
No description provided by the author
Helper function to determine if a file is new (updated in the last 7 days).
PreparePaginationParams calculates the offset and limit for pagination.
PrepareSorting determines the sort field and order based on input or defaults.
PrepareSorting determines the sort field and order based on input or defaults.
VerifyJWT verifies the provided JWT token and returns the claims.
VerifyJWT verifies the provided JWT token and returns the claims.
verifyWithOAuthToken sends the token to the verification endpoint.

# Structs

No description provided by the author
No description provided by the author