Documentation ¶
Index ¶
- Variables
- func GetConnectedTaskByNotionId(notionId string) (*models.ConnectedTask, error)
- func GetConnectedTaskByTaskId(taskId string) (*models.ConnectedTask, error)
- func GetConnectedTasks(connectionId string) ([]models.ConnectedTask, error)
- func Insert(connectedTask models.ConnectedTask) error
- func OpenFile() error
- func RemoveTaskByNotionId(notionId string) error
- func RemoveTaskByTaskId(taskId string) error
- func UpdateGoogleTime(taskId string, updated *time.Time) error
- func UpdateNotionTime(notionId string, updated *time.Time) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sql.DB
Functions ¶
func GetConnectedTaskByNotionId ¶
func GetConnectedTaskByNotionId(notionId string) (*models.ConnectedTask, error)
func GetConnectedTaskByTaskId ¶
func GetConnectedTaskByTaskId(taskId string) (*models.ConnectedTask, error)
func GetConnectedTasks ¶
func GetConnectedTasks(connectionId string) ([]models.ConnectedTask, error)
func Insert ¶
func Insert(connectedTask models.ConnectedTask) error
func RemoveTaskByNotionId ¶
func RemoveTaskByTaskId ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.