Documentation ¶
Index ¶
- func CurrentLocale(ctx *gin.Context) string
- func CurrentUser(ctx *gin.Context) *models.User
- func DB(ctx *gin.Context) *gorm.DB
- func HomeIndex(ctx *gin.Context)
- func I18nFuncMap(ctx *gin.Context) template.FuncMap
- func IsEditMode(ctx *gin.Context) bool
- func ProductShow(ctx *gin.Context)
- func SwitchLocale(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentLocale ¶
func IsEditMode ¶
func ProductShow ¶
func SwitchLocale ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.