#348 Use Pointer for Optional Otion structs

Open
opened 1 month ago by 6543 · 0 comments
6543 commented 1 month ago

like go-github to be able to just pass nil if no option was choosen

example:
c.ListRepoMilestones(repoOwner, repoName, ListMilestoneOption{})

will be:
c.ListRepoMilestones(repoOwner, repoName, nil)

like [go-github](https://github.com/google/go-github/blob/master/github/issues_assignees.go#L17) to be able to just pass nil if no option was choosen example: `c.ListRepoMilestones(repoOwner, repoName, ListMilestoneOption{})` will be: `c.ListRepoMilestones(repoOwner, repoName, nil)`
6543 added this to the v0.13.0 milestone 1 month ago
6543 added the
kind/breaking
label 1 month ago
6543 changed title from Use for pointer for Optional Otion structs to Use Pointer for Optional Otion structs 1 month ago
6543 added the
kind/proposal
label 1 month ago
Sign in to join this conversation.
Loading…
There is no content yet.