Create Asana tasks

This commit is contained in:
Ian Gulliver
2022-10-28 06:30:08 +00:00
parent 20d5f37b51
commit 9b91b415e6
2 changed files with 84 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import (
)
func main() {
ac := NewAsanaClient()
sc := NewSlackClient()
stars, err := sc.GetStars()
@@ -34,6 +35,11 @@ func main() {
fmt.Printf("%s\n", title)
err = ac.CreateTask(title)
if err != nil {
panic(err)
}
err = sc.RemoveStar(item)
if err != nil {
panic(err)