Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProjectsRouter ¶
func NewProjectsRouter(e *echo.Echo, projectUsecase domain.ProjectUsecase)
Types ¶
type GetProjectParam ¶
type GetProjectParam struct {
ID string `param:"id" validate:"required"`
}
type HTTPError ¶
type HTTPError struct {
Message string `json:"message"`
}
func (HTTPError) BadRequest ¶
func (HTTPError) ErrUnprocessableEntity ¶
func (HTTPError) InternalServerError ¶
func (HTTPError) Unauthorized ¶
type ProjectOut ¶
type ProjectOut struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` Tags []string `json:"tags"` ThumbnailURL string `json:"thumbnail_url"` WebsiteURL string `json:"website_url"` Live bool `json:"live"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type ProjectsOut ¶
type ProjectsOut struct {
Data []*ProjectOut `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.