func newAssignees(issueID int, gAssignees []*github.User, repository string) ([]sql.Assignee, error) {
	assignees := []sql.Assignee{}
	repository = strings.ToLower(repository)

	for _, assignee := range gAssignees {
		if assignee != nil && assignee.Login == nil {
			return nil, fmt.Errorf("Assignee is missing Login field")
		}
		assignees = append(assignees, sql.Assignee{
			IssueID:    strconv.Itoa(issueID),
			Name:       *assignee.Login,
			Repository: repository,
		})
	}

	return assignees, nil
}
func newAssignees(issueID int, gAssignees []*github.User, repository string) ([]sql.Assignee, error) {
	assignees := []sql.Assignee{}
	repository = strings.ToLower(repository)

	for _, assignee := range gAssignees {
		if assignee != nil && assignee.Login == nil {
			return nil, fmt.Errorf("Assignee is missing Login field")
		}
		assignees = append(assignees, sql.Assignee{
			IssueID:    strconv.Itoa(issueID),
			Name:       *assignee.Login,
			Repository: repository,
		})
	}

	return assignees, nil
}
// newAssignees creates a new Label for each label in the issue