Skip to content

Commit

Permalink
Adding BaseRequestBuilder.SetURL (#9)
Browse files Browse the repository at this point in the history
* Adding BaseRequestBuilder.SetURL

* Maintainer fix

Co-authored-by: YAEGASHI Takeshi <[email protected]>
  • Loading branch information
DeepDiver1975 and yaegashi authored Feb 21, 2020
1 parent 54edc62 commit 2d438cf
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
File renamed without changes.
5 changes: 5 additions & 0 deletions beta/msgraph.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions gen/msgraph.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ func (r *BaseRequestBuilder) URL() string {
return r.baseURL
}

// SetURL sets the baseURL
func (r *BaseRequestBuilder) SetURL(baseURL string) {
r.baseURL = baseURL
}

// BaseRequest is base request
type BaseRequest struct {
baseURL string
Expand Down
5 changes: 5 additions & 0 deletions v1.0/msgraph.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2d438cf

Please sign in to comment.