package
0.7.56
Repository: https://github.com/oodzchen/dproject.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
AcActionNames returns a list of possible string values of AcAction.
AcActionValues returns a list of the values for AcAction.
No description provided by the author
AcModelNames returns a list of possible string values of AcModel.
AcModelValues returns a list of the values for AcModel.
No description provided by the author
No description provided by the author
AcTypeNames returns a list of possible string values of AcType.
AcTypeValues returns a list of the values for AcType.
No description provided by the author
AppErrCodeNames returns a list of possible string values of AppErrCode.
AppErrCodeValues returns a list of the values for AppErrCode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LangNames returns a list of possible string values of Lang.
LangValues returns a list of the values for Lang.
No description provided by the author
No description provided by the author
ParseAcAction attempts to convert a string to a AcAction.
ParseAcModel attempts to convert a string to a AcModel.
ParseAcType attempts to convert a string to a AcType.
ParseAppErrCode attempts to convert a string to a AppErrCode.
ParseLang attempts to convert a string to a Lang.
No description provided by the author
No description provided by the author
No description provided by the author
Validate email string.
No description provided by the author
No description provided by the author

# Constants

AcActionAddRole is a AcAction of type add_role.
AcActionBanUser is a AcAction of type ban_user.
AcActionBlockRegions is a AcAction of type block_regions.
AcActionCreateArticle is a AcAction of type create_article.
AcActionDeleteArticle is a AcAction of type delete_article.
AcActionEditArticle is a AcAction of type edit_article.
AcActionEditRole is a AcAction of type edit_role.
AcActionFadeOutArticle is a AcAction of type fade_out_article.
AcActionLockArticle is a AcAction of type lock_article.
AcActionLogin is a AcAction of type login.
AcActionLogout is a AcAction of type logout.
AcActionReactArticle is a AcAction of type react_article.
AcActionRecover is a AcAction of type recover.
AcActionRegister is a AcAction of type register.
AcActionRegisterVerify is a AcAction of type register_verify.
AcActionReplyArticle is a AcAction of type reply_article.
AcActionResetPassword is a AcAction of type reset_password.
AcActionRetrievePassword is a AcAction of type retrieve_password.
AcActionSaveArticle is a AcAction of type save_article.
AcActionSetRole is a AcAction of type set_role.
AcActionSubscribeArticle is a AcAction of type subscribe_article.
AcActionToggleHideHistory is a AcAction of type toggle_hide_history.
AcActionUnbanUser is a AcAction of type unban_user.
AcActionUpdateIntro is a AcAction of type update_intro.
AcActionVoteArticle is a AcAction of type vote_article.
AcModelArticle is a AcModel of type article.
AcModelEmpty is a AcModel of type empty.
AcModelRole is a AcModel of type role.
AcModelUser is a AcModel of type user.
AcTypeAnonymous is a AcType of type anonymous.
AcTypeDev is a AcType of type dev.
AcTypeManage is a AcType of type manage.
AcTypeUser is a AcType of type user.
AppErrCodeActivityValidFailed is a AppErrCode of type ActivityValidFailed.
AppErrCodeAlreadyRegistered is a AppErrCode of type AlreadyRegistered.
AppErrCodeArticleNotExist is a AppErrCode of type ArticleNotExist.
AppErrCodeArticleValidFailed is a AppErrCode of type ArticleValidFailed.
AppErrCodeCategoryValidFailed is a AppErrCode of type CategoryValidFailed.
AppErrCodeNotRegistered is a AppErrCode of type NotRegistered.
AppErrCodePermissionValidFailed is a AppErrCode of type PermissionValidFailed.
AppErrCodeRoleValidFailed is a AppErrCode of type RoleValidFailed.
AppErrCodeUserNotExist is a AppErrCode of type UserNotExist.
AppErrCodeUserValidFailed is a AppErrCode of type UserValidFailed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LangEn is a Lang of type en.
LangJa is a Lang of type ja.
LangZhHans is a Lang of type zh-Hans.
LangZhHant is a Lang of type zh-Hant.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MAX_ARTICLE_CONTENT_LEN
No description provided by the author
MAX_ARTICLE_TITLE_LEN
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
https://regex101.com/r/RzBwPX/1.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

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

# Structs

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

# Interfaces

No description provided by the author

# Type aliases

Activity Action ENUM( register, // Register register_verify, // Registration verification login, // Login logout, // Logout update_intro, // Update introduction create_article, // Create article reply_article, // Reply to article edit_article, // Edit article delete_article, // Delete article save_article, // Save article vote_article, // Vote article react_article, // React to article set_role, // Set role add_role, // Add role edit_role, // Edit role subscribe_article, // Subscribe article retrieve_password, // Retrieve password reset_password, // Reset password toggle_hide_history, // Toggle hide history recover, // Recover article block_regions, // Block regions lock_article, // Lock article fade_out_article, // Fade out article ban_user, // Ban user unban_user, // Unban user ) */.
Activity Model ENUM( empty, // Empty user, // User article, // Article role, // Role ) */.
Activity Type ENUM( user, // User manage, // Management anonymous, // Anonymous dev, // Development ) */.
App Error ENUM( AlreadyRegistered = 1000, // already registered NotRegistered, // not registered UserValidFailed, // user data validation failed ArticleValidFailed, // article data validation failed PermissionValidFailed, // permission data validation failed RoleValidFailed, // role data validation failed ActivityValidFailed, // activity data validation failed CategoryValidFailed, // category data validation failed UserNotExist, // user dose not exist ArticleNotExist, // article dose not exist ) */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Language list ENUM( en, // English zh-Hans, // 简体中文 zh-Hant, // 繁體中文 ja, // 日本語 ) */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author