Documentation
¶
Index ¶
- func ValidateComment(user taskforge.User, comment taskforge.Comment) (taskforge.Comment, error)
- func ValidateContext(user taskforge.User, context taskforge.Context) (taskforge.Context, error)
- func ValidateSource(user taskforge.User, source taskforge.Source) (taskforge.Source, error)
- func ValidateTask(user taskforge.User, task taskforge.Task, contexts taskforge.ContextService, ...) (taskforge.Task, error)
- func ValidateUser(user taskforge.User) (taskforge.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateComment ¶
ValidateComment will populate comment with the appropriate default values or return an error to indicate a non-defaultable field was not provided.
func ValidateContext ¶
ValidateContext will populate context with the appropriate default values or return an error to indicate a non-defaultable field was not provided.
func ValidateSource ¶
ValidateSource will populate source with the appropriate default values or return an error to indicate a non-defaultable field was not provided.
func ValidateTask ¶
func ValidateTask(user taskforge.User, task taskforge.Task, contexts taskforge.ContextService, sources taskforge.SourceService) (taskforge.Task, error)
ValidateTask will populate task with the appropriate default values or return an error to indicate a non-defaultable field was not provided.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.