Added authorization
This commit is contained in:
parent
c3c3d65d32
commit
b96dd39795
50 changed files with 685 additions and 410 deletions
|
|
@ -10,6 +10,9 @@ type PostResponse struct {
|
|||
Content string `json:"content"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
Tags []string `json:"tags"`
|
||||
Category string `json:"category"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
|
||||
type PostResponseList []*PostResponse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue