Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductRepo ¶
type ProductRepo struct {
// contains filtered or unexported fields
}
func (*ProductRepo) Get ¶
func (t *ProductRepo) Get(id int) Product
gormを通してmysqlにアクセスし、Productを取ってくる
Click to show internal directories.
Click to hide internal directories.