Skip to content

Commit fb12bad

Browse files
committed
Fix old v5 Go code format
1 parent a5a829e commit fb12bad

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

v5/heroku.go

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
// To be able to interact with this API, you have to
44
// create a new service:
55
//
6-
// s := heroku.NewService(nil)
6+
// s := heroku.NewService(nil)
77
//
88
// The Service struct has all the methods you need
99
// to interact with heroku API.
10-
//
1110
package v5
1211

1312
import (
@@ -2142,7 +2141,6 @@ type EnterpriseAccountDailyUsageInfoResult []EnterpriseAccountDailyUsage
21422141
// from the [enterprise account
21432142
// list](https://devcenter.heroku.com/articles/platform-api-reference#ent
21442143
// erprise-account-list).
2145-
//
21462144
func (s *Service) EnterpriseAccountDailyUsageInfo(ctx context.Context, enterpriseAccountID string, o EnterpriseAccountDailyUsageInfoOpts, lr *ListRange) (EnterpriseAccountDailyUsageInfoResult, error) {
21472145
var enterpriseAccountDailyUsage EnterpriseAccountDailyUsageInfoResult
21482146
return enterpriseAccountDailyUsage, s.Get(ctx, &enterpriseAccountDailyUsage, fmt.Sprintf("/enterprise-accounts/%v/usage/daily", enterpriseAccountID), o, lr)
@@ -2255,7 +2253,6 @@ type EnterpriseAccountMonthlyUsageInfoResult []EnterpriseAccountMonthlyUsage
22552253
// [enterprise account
22562254
// list](https://devcenter.heroku.com/articles/platform-api-reference#ent
22572255
// erprise-account-list).
2258-
//
22592256
func (s *Service) EnterpriseAccountMonthlyUsageInfo(ctx context.Context, enterpriseAccountID string, o EnterpriseAccountMonthlyUsageInfoOpts, lr *ListRange) (EnterpriseAccountMonthlyUsageInfoResult, error) {
22602257
var enterpriseAccountMonthlyUsage EnterpriseAccountMonthlyUsageInfoResult
22612258
return enterpriseAccountMonthlyUsage, s.Get(ctx, &enterpriseAccountMonthlyUsage, fmt.Sprintf("/enterprise-accounts/%v/usage/monthly", enterpriseAccountID), o, lr)
@@ -2965,7 +2962,8 @@ func (s *Service) PasswordResetCompleteResetPassword(ctx context.Context, passwo
29652962
}
29662963

29672964
// [Peering](https://devcenter.heroku.com/articles/private-space-peering)
2968-
// provides a way to peer your Private Space VPC to another AWS VPC.
2965+
//
2966+
// provides a way to peer your Private Space VPC to another AWS VPC.
29692967
type Peering struct {
29702968
AwsAccountID string `json:"aws_account_id" url:"aws_account_id,key"` // The AWS account ID of your Private Space.
29712969
AwsRegion string `json:"aws_region" url:"aws_region,key"` // The AWS region of the peer connection.
@@ -4481,7 +4479,6 @@ type TeamDailyUsageInfoResult []TeamDailyUsage
44814479
// YYYY-MM-DD. The team identifier can be found from the [team list
44824480
// endpoint](https://devcenter.heroku.com/articles/platform-api-reference
44834481
// #team-list).
4484-
//
44854482
func (s *Service) TeamDailyUsageInfo(ctx context.Context, teamID string, o TeamDailyUsageInfoOpts, lr *ListRange) (TeamDailyUsageInfoResult, error) {
44864483
var teamDailyUsage TeamDailyUsageInfoResult
44874484
return teamDailyUsage, s.Get(ctx, &teamDailyUsage, fmt.Sprintf("/teams/%v/usage/daily", teamID), o, lr)
@@ -4788,7 +4785,6 @@ type TeamMonthlyUsageInfoResult []TeamMonthlyUsage
47884785
// The team identifier can be found from the [team list
47894786
// endpoint](https://devcenter.heroku.com/articles/platform-api-reference
47904787
// #team-list).
4791-
//
47924788
func (s *Service) TeamMonthlyUsageInfo(ctx context.Context, teamID string, o TeamMonthlyUsageInfoOpts, lr *ListRange) (TeamMonthlyUsageInfoResult, error) {
47934789
var teamMonthlyUsage TeamMonthlyUsageInfoResult
47944790
return teamMonthlyUsage, s.Get(ctx, &teamMonthlyUsage, fmt.Sprintf("/teams/%v/usage/monthly", teamID), o, lr)

0 commit comments

Comments
 (0)