GetPullRequestDiff: add PullRequestDiffOptions param #542
|
@ -270,6 +270,7 @@ type PullRequestDiffOptions struct {
|
|||
Binary bool
|
||||
6543 marked this conversation as resolved
|
||||
}
|
||||
|
||||
// QueryEncode converts the options to a query string
|
||||
func (o PullRequestDiffOptions) QueryEncode() string {
|
||||
query := make(url.Values)
|
||||
query.Add("binary", fmt.Sprintf("%v", o.Binary))
|
||||
|
|
Loading…
Reference in New Issue
Block a user
since this is optional and upstream default is true - we should change it to
*bool
typeNo, upstream default is false.