All checks were successful
Build and push image / deploy (push) Successful in 2m36s
23 lines
343 B
Go
23 lines
343 B
Go
package gorm
|
|
|
|
import "time"
|
|
|
|
type Good struct {
|
|
ID string
|
|
GoodID int
|
|
Name string
|
|
IDC int
|
|
IDR int
|
|
Goodlink string
|
|
Seller string
|
|
Sellerlink string
|
|
Sellerrating int
|
|
Sold int
|
|
Price float64
|
|
CreatedAt time.Time
|
|
}
|
|
|
|
func (Good) TableName() string {
|
|
return "goods"
|
|
}
|