adsa-cms: github.com/mmanjoura/adsa-cms/qor-example/app/controllers Index | Files

package controllers

import "github.com/mmanjoura/adsa-cms/qor-example/app/controllers"

Index

Package Files

application.go categories.go home.go product.go

func Categories Uses

func Categories(ctx *gin.Context)

func CurrentLocale Uses

func CurrentLocale(ctx *gin.Context) string

func CurrentUser Uses

func CurrentUser(ctx *gin.Context) *models.User

func DB Uses

func DB(ctx *gin.Context) *gorm.DB

func HomeIndex Uses

func HomeIndex(ctx *gin.Context)

func I18nFuncMap Uses

func I18nFuncMap(ctx *gin.Context) template.FuncMap

func ProductShow Uses

func ProductShow(ctx *gin.Context)

func SwitchLocale Uses

func SwitchLocale(ctx *gin.Context)

Package controllers imports 15 packages (graph) and is imported by 1 packages. Updated 2017-06-20. Refresh now. Tools for package owners.