creating chirps!

This commit is contained in:
2025-03-11 19:08:34 +02:00
parent 5618aeb439
commit de5f090a9c
5 changed files with 105 additions and 22 deletions

View File

@@ -10,6 +10,14 @@ import (
"github.com/google/uuid"
)
type Chirp struct {
ID uuid.UUID
CreatedAt time.Time
UpdatedAt time.Time
Body string
UserID uuid.UUID
}
type User struct {
ID uuid.UUID
CreatedAt time.Time