brand

package
v0.0.0-...-2109d14 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBrandDevices

func GetBrandDevices(c *gin.Context)

func GetBrands

func GetBrands(c *gin.Context)

func Register

func Register(r *gin.RouterGroup)

Types

type Brand

type Brand struct {
	//gorm.Model
	Name string `json:"name" gorm:"type:varchar(100)"`
	Slug string `json:"slug" gorm:"type:varchar(100);unique_index"`

	Devices string `json:"devices" gorm:"-"`
}

Jump to

Keyboard shortcuts

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