first commit
This commit is contained in:
commit
be3f79d2e1
14 files changed
+1141
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
)
|
||||
|
||||
type Image struct {
|
||||
ID primitive.ObjectID `bson:"_id"`
|
||||
FSName string `json:"fsname" validate:"required"`
|
||||
Description string `json:"description" validate:"required"`
|
||||
Album string `json:"album" validate:"required"`
|
||||
Created_at time.Time `json:"created_at"`
|
||||
Updated_at time.Time `json:"updated_at"`
|
||||
}
|
||||
Reference in new issue
Block a user