Removed uneccessary suffixes
This commit is contained in:
@@ -2,7 +2,7 @@ package catalog
|
||||
|
||||
import "github.com/jackc/pgtype"
|
||||
|
||||
type ProductEntity struct {
|
||||
type Product struct {
|
||||
ID int `db:"id"`
|
||||
PID string `db:"pid"`
|
||||
Name string `db:"name"`
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type ProductModel struct {
|
||||
type Product struct {
|
||||
PID string `db:"pid"`
|
||||
Name string `db:"name"`
|
||||
Price float64 `db:"price"`
|
||||
|
||||
Reference in New Issue
Block a user