chore: add storage logger and handler in /int
This commit is contained in:
8
backend/internal/storage/models.go
Normal file
8
backend/internal/storage/models.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package storage
|
||||
|
||||
type Post struct {
|
||||
ID int `db:"id"`
|
||||
Title string `db:"title"`
|
||||
Content string `db:"content"`
|
||||
CreatedAt string `db:"created_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user