Compare commits

..

2 Commits

2 changed files with 10 additions and 0 deletions

View File

@@ -96,3 +96,7 @@ func ToSearchPostListDTO(posts []database.Post, query string, limit, offset int)
Offset: offset,
}
}
type TitleResponseDTO struct {
Title string `json:"title"`
}

View File

@@ -117,3 +117,9 @@ func ToRegistrationResponseDTO(user *database.User, verificationSent bool) Regis
type AccountDeletionResponseDTO struct {
PostsDeleted bool `json:"posts_deleted"`
}
type MessageResponseDTO struct {
Message string `json:"message"`
}
type EmptyResponseDTO struct{}