mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 19:53:21 +02:00
feat: password reset #32
This commit is contained in:
@@ -5,11 +5,11 @@ import (
|
||||
)
|
||||
|
||||
type Image struct {
|
||||
ID uint32
|
||||
Path string
|
||||
PostID uint32
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
ID uint32 `json:"id"`
|
||||
Path string `json:"path"`
|
||||
PostID uint32 `json:"post_id"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
func FromDB(id uint32, path string, postId uint32, createdAt time.Time, updatedAt time.Time) Image {
|
||||
|
||||
Reference in New Issue
Block a user