start register and login page
This commit is contained in:
1 parent
19bb16c450
commit
1ee9de601c
55 files changed
+38561
-11
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
)
|
||||
|
||||
type Photo struct {
|
||||
ID primitive.ObjectID `bson:"_id"`
|
||||
Name string `json:"name" validate:"required"`
|
||||
Base64 string `json:"base64" validate:"required"`
|
||||
Created_at time.Time `json:"created_at"`
|
||||
Updated_at time.Time `json:"updated_at"`
|
||||
}
|
||||
Reference in new issue
Block a user