package models import "time" type Log struct { ID string `db:"log_id"` IssueID string `db:"issue_id"` UserID string `db:"user_id"` IssueTaskID *string `db:"issue_task_id"` UnitsDone *int `db:"units_done"` Duration time.Duration `db:"duration"` Description []string `db:"description"` } type LogFilter struct { LogIDs []string IssueIDs []string IssueTaskIDs []string } type LogItem struct { LogID string `db:"log_id"` IssueItemID string `db:"issue_item_id"` Amount int `db:"amount"` }