Skip to content

Commit

Permalink
prints
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Mar 4, 2024
1 parent 5347878 commit 467db7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libs/orchestrator/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package github
import (
"context"
"fmt"
"github.com/davecgh/go-spew/spew"
"log"
"os"
"strings"
Expand Down Expand Up @@ -87,6 +88,11 @@ func (svc GithubService) ListIssues() ([]*orchestrator.Issue, error) {
log.Fatalf("error getting pull request files: %v", err)
}
for _, issue := range issues {
spew.Dump(issue)
fmt.Print("ID:: %v", *issue.ID)
fmt.Print("Title:: %v", *issue.Title)
fmt.Print("Body:: %v", *issue.Body)

allIssues = append(allIssues, &orchestrator.Issue{ID: *issue.ID, Title: *issue.Title, Body: *issue.Body})
}
if resp.NextPage == 0 {
Expand Down

0 comments on commit 467db7d

Please sign in to comment.