Added authorization
This commit is contained in:
parent
c3c3d65d32
commit
b96dd39795
50 changed files with 685 additions and 410 deletions
|
|
@ -9,8 +9,12 @@ import (
|
|||
func itemFromResult(item *common.PostResult) responses.GetListPostResponseItem {
|
||||
return responses.GetListPostResponseItem{
|
||||
Id: item.Id.String(),
|
||||
UserId: item.UserId.String(),
|
||||
Title: item.Title,
|
||||
Description: item.Description,
|
||||
UpdatedAt: item.UpdatedAt.String(),
|
||||
Tags: item.Tags,
|
||||
Category: item.Category,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue