andygrunwald / andygrunwald/go-jira
iterate over ProjectList
Ouverte
needs triage
- Langage dominant
- Go
- Étoiles
- 1.6k
- Forks
- 500
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## Describe the bug
My go skills might be lacking for this but i can't iterate over the the anonymous [ProjectList](https://github.com/andygrunwald/go-jira/blob/master/project.go#L18) slice.
Attempts to cast it didn't work so far.
## To Reproduce
```go
projects, _, err := client.Project.GetList()
for project := range projects {
}
```
## Expected behavior
Be able to iterate and access values.
## Possible Solution
https://github.com/rsteube/go-jira/commit/86280631ea084fb9f0ca369237347b919dbf56b9
## Your Environment
On-Premise: v8.16.1
## Additional context
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.