Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContributionListController ¶
type ContributionListController struct {
controllers.BaseController
}
ContributionListController 投稿リストコントローラー
func (*ContributionListController) Post ¶
func (c *ContributionListController) Post()
Post ユーザー投稿一覧を取得する
type ContributionListRequest ¶
type ContributionListRequest struct { Order int `form:"order"` Page int `form:"page"` Limit int `form:"limit"` }
ContributionListRequest 投稿リストリクエスト
type ContributionListResponse ¶
type ContributionListResponse struct { PrivteList []models.UserContribution `json:"privtes"` List []models.UserContribution `json:"list"` TitleList []string `json:"titles"` Count int `json:"count"` }
ContributionListResponse 投稿リストレスポンス
type GetResponse ¶
GetResponse 詳細レスポンス
type MainController ¶
type MainController struct {
controllers.BaseController
}
MainController コントローラー
type PutRequest ¶
type PutRequest struct {
Name string `form:"name" validate:"min=1,max=100"`
}
PutRequest 保存リクエスト
Click to show internal directories.
Click to hide internal directories.