Added authorization
This commit is contained in:
parent
c3c3d65d32
commit
b96dd39795
50 changed files with 685 additions and 410 deletions
|
|
@ -7,4 +7,6 @@ type CreatePostCommand struct {
|
|||
Title string
|
||||
Description string
|
||||
Content string
|
||||
Category string
|
||||
Tags []string
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
package commands
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type CreatePostsCommand struct {
|
||||
PostId uuid.UUID
|
||||
UserId uuid.UUID
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
package commands
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type DeletePostsCommand struct {
|
||||
Id uuid.UUID
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue