# Functions
NewBadRequestError creates a new instance of GosmError representing a bad request error.
ParseEventType converts a string to an EventType.
ParsePhoneNumber extracts the country code and local phone number from a given input.
UnknownError wraps an unexpected error in a GosmError with an "INTERNAL_SERVER_ERROR" code.
# Variables
CountryDialCodes contains all countries dial codes.
ErrAuthTokenIsExpired represents an error when the provided access token is expired.
ErrInvalidAccessToken represents an error when the provided access token is not valid.
ErrInvalidSignInPayload represents an error when the provided email and password combination is not valid.
ErrUserExisted is returned when a user provides an email existed in database.
ErrUserFirstNameEmpty represents an error when the provided name format is empty.
ErrUserInvalidEmailAddress represents an error when the provided email format is invalid.
ErrUserPasswordEmpty represents an error when the provided password is empty.
ErrUserRoleIsEmpty represents an error when the provided user's role format is invalid.
EventTypeBirthday represents a birthday event.
EventTypeCharity represents a charity event.
EventTypeComedy represents a comedy event.
EventTypeConcert represents a concert event.
EventTypeConferences represents a conference event.
EventTypeCultural represents a cultural event.
EventTypeExhibitions represents an exhibition event.
EventTypeFestival represents a festival event.
EventTypeGathering represents a social gathering event.
EventTypeNetworking represents a networking event.
EventTypeOther represents an event type that does not fit into predefined categories.
EventTypeProductLaunches represents a product launch event.
EventTypeSport represents a sports event.
EventTypeTeamBuilding represents a team-building event.
EventTypeWedding represents a wedding event.
EventTypeWorkshop represents a workshop event.
Represents client-side errors (e.g., validation failures).
Represents unexpected or internal server errors.
UserRoleGuest represents a guest role.
UserRoleHost represents a host role.
UserRoleOrganizer represents an organizer role.
UserRoleSuperAdmin represents an super admin role.
# Structs
AuthResponse represents the response body for successful authentication.
Country represents a country with its relevant details.
Event represents an event entity with relevant metadata.
GosmError represents a structured application error.
Guest represents an event guest with their details.
PaginationRequest represents a request for paginated data retrieval.
PaginationResponse represents a paginated response for API results.
User represents a user entity with personal and contact information.
# Type aliases
EventType represents the type of an event.
GosmErrorType defines a type for categorizing errors within the application.
TransactionFunc defines a function that executes inside a transaction.
UserRole represents different roles a user can have in the system.