feat: Inital commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package crawler
|
||||
|
||||
import "time"
|
||||
|
||||
// Bag holds the metadata for a single product.
|
||||
type Bag struct {
|
||||
SKU string `firestore:"sku"`
|
||||
Name string `firestore:"name"`
|
||||
URL string `firestore:"url"`
|
||||
ImageURL string `firestore:"imageURL"`
|
||||
Availability bool `firestore:"availability"`
|
||||
CreatedTimestamp time.Time `firestore:"createdTimestamp,serverTimestamp"`
|
||||
UpdatedTimestamp time.Time `firestore:"updatedTimestamp,serverTimestamp"`
|
||||
DeleteTimestamp *time.Time `firestore:"deleteTimestamp,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user