package
0.0.0-20231029142920-b5e8b19fbd09
Repository: https://github.com/quadrosh/gin-html.git
Documentation: pkg.go.dev

# Constants

ArticleLayoutArticle article page.
ArticleLayoutHome home page.
ArticleLayoutPage public page.
ArticleStatusDraft draft.
ArticleStatusPublished published.
ArticleTypeArticle article.
ArticleTypeNews news.
ArticleTypePage page.
UserRoleTypeAdmin - admin.
UserRoleTypeNone - no role.
UserRoleTypeUser - user.
UserRuleRoleAdmin - check access Admin.
UserRuleRoleUser - check access User.
UserStatusActive активный допуск.
UserStatusFired уволен.
UserStatusNew соискатель.
UserStatusRefused доступ отклонен.
UserStatusSuspended доступ приостановлен.
UserStatusValidationDone Прошёл проверочные мероприятия.
UserStatusValidationFailed Не прошел проверочные мероприятия.
UserStatusValidationWaiting ожидает проверочных мероприятий.

# Variables

AllModels - automigration models.
ArticleLayoutConstMap map of ArticleLayout constants.
ArticleLayoutNameMap map of ArticleLayout names.
No description provided by the author
ArticleStatusConstMap map of PageStatus constants.
ArticleStatusNameMap map of PageStatus Names.
ArticleTypeConstMap map of PageType constants.
ArticleTypeNameMap map of PageType names.
No description provided by the author
UserRoleTypeConstMap мапа констант UserRoleType.
UserStatusConstMap мапа констант UserStatus.

# Structs

ActionModel - базовая модель.
Article
Article страница.
ImageFile image file.
Model - базовая модель для хранения в базе данных.
Pagination - paging structure.
No description provided by the author
User - site user.
UserCanSettings - params for check access.
UserRole - роль пользователя.

# Type aliases

ArticleLayout article layout.
Articles are pages.
ArticleStatus статус страницы.
ArticleType тип страницы.
UserRoleType - Тип роли.
Rule - правило проверки доступа.
Users - users collection.
UserStatus статус пользователя.