-
Notifications
You must be signed in to change notification settings - Fork 0
Create getter and setter for MarketplaceService.Stubbed #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create getter and setter for MarketplaceService.Stubbed #2
Conversation
8f1d144
to
bacddd1
Compare
@@ -75,6 +75,14 @@ type MarketplacePlanAccount struct { | |||
MarketplacePendingChange *MarketplacePendingChange `json:"marketplace_pending_change,omitempty"` | |||
} | |||
|
|||
func (s *MarketplaceService) SetStubbed(stubbed bool) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two new methods need standard godoc-style comment strings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how I managed to miss this 😔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, added the doc strings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @migueleliasweb .
Sorry to be a pain, but please make the comments complete sentences per idiomatic Go style for the auto-generated godocs.
github/apps_marketplace.go
Outdated
@@ -75,6 +75,20 @@ type MarketplacePlanAccount struct { | |||
MarketplacePendingChange *MarketplacePendingChange `json:"marketplace_pending_change,omitempty"` | |||
} | |||
|
|||
// SetStubbed configures MarketplaceService Stubbed property |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// SetStubbed configures MarketplaceService Stubbed property | |
// SetStubbed configures the MarketplaceService Stubbed property. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry again to be a pain, but can you please add the ending periods in both cases as shown in the suggested changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, no problem!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
github/apps_marketplace.go
Outdated
s.Stubbed = stubbed | ||
} | ||
|
||
// GetStubbed returns MarketplaceService Stubbed property |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// GetStubbed returns MarketplaceService Stubbed property | |
// GetStubbed returns the MarketplaceService Stubbed property. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added :)
5bc6f47
to
ce74d52
Compare
ce74d52
to
b201be0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you, @migueleliasweb .
Merging.
MarketplaceService.GetStubbed
andMarketplaceService.SetStubbed