Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChineseSimplified = map[string]string{
"validations.email": ":field 不是有效的电子邮件地址",
"validations.matches": ":field 与 :target 不匹配",
"validations.max": ":field 设置为 :length 长度的最大值",
"validations.min": ":field 设置为 :length 长度的最小值",
"validations.required": ":field 是必需的",
"validations.strictpassword.special": ":field 至少应包含 1 个特殊字符",
"validations.strictpassword.uppercase": ":field 至少应包含 1 个大写字符",
"validations.strictpassword.lowercase": ":field 至少应包含 1 个小写字符",
"validations.strictpassword.digit": ":field 至少应包含 1 位数字",
"Die Dump": "模具转储",
"Welcome to": "欢迎来到",
"Lucid": "清醒的",
"Running using GO HTML Template": "使用原生 HTML 运行",
"Sample Forms": "样本表格",
}
View Source
var ChineseTraditional = map[string]string{
"validations.email": ":field 不是有效的電子郵件地址",
"validations.matches": ":field 與 :target 不匹配",
"validations.max": ":field 設置為 :length 長度的最大值",
"validations.min": ":field 設置為 :length 長度的最小值",
"validations.required": ":field 是必需的",
"validations.strictpassword.special": ":field 至少應包含 1 個特殊字符",
"validations.strictpassword.uppercase": ":field 至少應包含 1 個大寫字符",
"validations.strictpassword.lowercase": ":field 至少應包含 1 個小寫字符",
"validations.strictpassword.digit": ":field 至少應包含 1 位數字",
"Welcome to": "歡迎來到",
"Lucid": "清醒的",
"Die Dump": "模具轉儲",
"Running using GO HTML Template": "使用原生 HTML 運行",
"Sample Forms": "樣本表格",
}
View Source
var EnglishUnitedStates = map[string]string{
"validations.email": ":field is not a valid email address!",
"validations.matches": ":field did not match with :target!",
"validations.max": ":field is set to maximum of :length length!",
"validations.min": ":field is set to minimum of :length length!",
"validations.required": ":field is required!",
"validations.strictpassword.special": ":field should contain at least 1 special character!",
"validations.strictpassword.uppercase": ":field should contain at least 1 upper case character!",
"validations.strictpassword.lowercase": ":field should contain at least 1 lower case character!",
"validations.strictpassword.digit": ":field should contain at least 1 digit!",
}
View Source
var Languages = map[string]helpers.MS{ "en-US": EnglishUnitedStates, "zh-CN": ChineseSimplified, "zh-TW": ChineseTraditional, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.