package
Version:
v0.0.0-...-06f2c85
Opens a new window with list of versions in this module.
Published: May 30, 2014
License: Unlicense
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Product struct {
Id int64 `json:"id"`
Code string `json:"code" binding:"required"`
Name string `json:"name" binding:"required"`
CreatedAt time.Time `json:"created_at" db:"created_at"`
UpdatedAt time.Time `json:"updated_at" db:"updated_at"`
}
type Products struct {
Collection []Product `json:"products"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.