Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateProjectReq ¶
type CreateProjectReq struct { Name *string `json:"name"` Description *string `json:"description,omitempty"` Color *string `json:"hex_color,omitempty"` Participants []Participant `json:"participants"` CreatedByID *string `json:"created_by_id,omitempty"` Slug *string `json:"slug,omitempty"` }
CreateProjectReq models the data to create a project
func (*CreateProjectReq) Validate ¶
func (cpr *CreateProjectReq) Validate() (err error)
Validate validation of data for registration
Click to show internal directories.
Click to hide internal directories.