Added authorization

This commit is contained in:
KamilM1205 2025-09-25 09:01:00 +04:00
parent c3c3d65d32
commit b96dd39795
50 changed files with 685 additions and 410 deletions

View file

@ -7,4 +7,6 @@ type CreatePostCommand struct {
Title string
Description string
Content string
Category string
Tags []string
}

View file

@ -1,8 +0,0 @@
package commands
import "github.com/google/uuid"
type CreatePostsCommand struct {
PostId uuid.UUID
UserId uuid.UUID
}

View file

@ -1,7 +0,0 @@
package commands
import "github.com/google/uuid"
type DeletePostsCommand struct {
Id uuid.UUID
}