Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrExpTaskIsNilPointer = errors.New("cannot create user by nil task pointer")
)
Functions ¶
func DeleteExpTaskByID ¶
func GetExpTaskUserIDByID ¶
func IsExpTaskExists ¶
func IsExpTaskFilenameUsed ¶
func IsExpTaskTitleUsed ¶
Types ¶
type ExpTask ¶
type ExpTask struct { basic.Model Title string `json:"title"` Filename string `json:"filename"` Deadline time.Time `json:"deadline"` UserID *uint64 `json:"-"` User *user.User `json:"user"` Reports []report.ExpReport `json:"reports"` }
func GetAllExpTasks ¶
func GetExpTaskByID ¶
func NewExpTask ¶
Click to show internal directories.
Click to hide internal directories.