package
0.0.0-20250228030420-588d19194d90
Repository: https://github.com/luckyakbar/atec.git
Documentation: pkg.go.dev
# Constants
ChangePasswordTokenQuery is the key in the query parameters to handle change password request.
known roles.
known roles.
# Variables
DefaultATECTemplate is the constant of default ATEC template.
# Structs
AnswerOption each singular answer option for a given question along with its detail.
AuthUser represent authenticated user and will be used to embed value to context.
ChecklistGroup is each individual question and answer in a given group.
Child represent childern table on database.
ImageResultAttributeKey is the list of available keys when building questionnaire result image.
IndicationCategory is the detailed structure composing a category to decide indication based on a given score.
LoginTokenClaims custom claims to be placed in payload for login jwt token.
Package represent packages table on database.
Result represent results table on database.
SubtestDetail each questionnaire groups along with its detail.
SubtestGrade represent each subtest's grade from a particular subtest group.
Template is the ATEC template in which contains several known subtest's group.
User represent users table on database.
# Type aliases
AnswerDetail represent each checklisted option from the questionnaire.
IndicationCategories is the template to decide what indication for a given score.
Questionnaire represent all the ATEC questionnaire structure.
ResultDetail will contain each result from the questionnaire's group.
Roles represent database's enum for roles.
SubTest is each questionnaire group with its respective details.