products

package
v0.0.0-...-debf771 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Genders = []string{"Men", "Women", "Kids"}

Functions

This section is empty.

Types

type App

type App struct {
	Config *Config
}

App home app

func New

func New(config *Config) *App

New new home app

func (App) ConfigureAdmin

func (App) ConfigureAdmin(Admin *admin.Admin)

ConfigureAdmin configure admin interface

func (App) ConfigureApplication

func (app App) ConfigureApplication(application *application.Application)

ConfigureApplication configure application

type Config

type Config struct {
}

Config home config struct

type Controller

type Controller struct {
	View *render.Render
}

Controller products controller

func (Controller) Category

func (ctrl Controller) Category(w http.ResponseWriter, req *http.Request)

Category category show page

func (Controller) Gender

func (ctrl Controller) Gender(w http.ResponseWriter, req *http.Request)

Gender products gender page

func (Controller) Index

func (ctrl Controller) Index(w http.ResponseWriter, req *http.Request)

Index products index page

func (Controller) Show

func (ctrl Controller) Show(w http.ResponseWriter, req *http.Request)

Show product show page

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL