package
0.0.0-20240926174054-02c971e2dfb0
Repository: https://github.com/joshsoftware/profile_builder_backend_go.git
Documentation: pkg.go.dev

# Functions

CheckBoolStatus returns YES if value is 1 else NO.
ConstructAdminEmailMessage constructs the email message for an admin invitation.
ConstructUserMessage constructs the email message for a profile invitation.
ConvertStringToInt returns the integer value of given string.
ConvertStringToIntWithDefault returns the integer value of given string.
ConvertStringToTimeDuration converts a String to time duration.
ConvertToLowerCase converts the email to lowercase.
DecodeAchievementRequest Decode the ListFilter.
DecodeCertificateRequest decode Certificate request and returns a filter.
DecodeEducationsRequest decode educations request and returns a filter.
DecodeExperiencesRequest decode experiences request and returns a filter.
DecodeProjectsRequest decode Projects request and returns a filter.
GetContextValue returns the integer values which is coming from the query parameters.
GetCurrentISTTime returns the current time in the Asia/Kolkata time zone formatted as RFC3339.
GetMultipleParams returns the multiple IDs which is coming from the query parameters.
GetParamsByID returns the url params which is coming from the query parameters.
GetProfileID returns the profile_id from the request.
GetQueryIntIds used to get query params as in int format.
GetQueryStrings used to get query params as in strings format.
GetTodaysDate returns the current date in string format.
GetUserIDFromContext returns the user_id which is coming from the context.
IsDuplicateKeyError returns true if the given key is duplicate and false otherwise.
IsInvalidProfileError returns true if the given profile_id is wrong and false otherwise.
JoinValues used to join multiple values while data backing up.
ProfileIDNotRequiredPath returns true if the profile_id is not required for the given path.
SendAdminInvitation sends an admin invitation email.
SendInvitation sends an invitation email.
SendRequest used to check valid login request.
SendUserInvitation sends a user invitation email.

# Variables

define the global variable for the store the token.
define the global variable for the store the token.