Documentation ¶ Index ¶ func AddTask(db *sql.DB, t Task) error func DeleteTask(db *sql.DB, id int) error func Display(tasks []Task) type Task func FindTasks(db *sql.DB, t Task) ([]Task, error) func (t *Task) Display() func (t *Task) ParseID() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddTask ¶ func AddTask(db *sql.DB, t Task) error func DeleteTask ¶ func DeleteTask(db *sql.DB, id int) error func Display ¶ func Display(tasks []Task) Types ¶ type Task ¶ type Task struct { ID int Name string Source string Path string ShortName string Link string ContestID string ContestStageID string } func FindTasks ¶ func FindTasks(db *sql.DB, t Task) ([]Task, error) func (*Task) Display ¶ func (t *Task) Display() func (*Task) ParseID ¶ func (t *Task) ParseID() string Source Files ¶ View all Source files database_client.go display.go Click to show internal directories. Click to hide internal directories.