~samwhited/paddle

284b5bd0297386d3ca0821dabc4ced21cedcb8a8 — Sam Whited 2 years ago 022ccf2
all: normalize package and Client docs
5 files changed, 10 insertions(+), 10 deletions(-)

M coupon/coupons.go
M license/license.go
M plan/plans.go
M product/products.go
M user/users.go
M coupon/coupons.go => coupon/coupons.go +2 -2
@@ 1,4 1,4 @@
// Package coupon provides the /product/*_coupon APIs.
// Package coupon provides APIs related to coupons.
package coupon

import (


@@ 20,7 20,7 @@ const (
	deleteCouponsURL = "/product/delete_coupon"
)

// Client is used to perform API operations on Coupons.
// Client performs API operations.
type Client struct {
	*paddle.Client
}

M license/license.go => license/license.go +2 -2
@@ 1,4 1,4 @@
// Package license provides the /product/*_license APIs.
// Package license provides APIs related to licenses.
package license

import (


@@ 13,7 13,7 @@ import (

const createLicenseURL = "/product/generate_license"

// Client performs operations related to licenses.
// Client performs API operations.
type Client struct {
	*paddle.Client
}

M plan/plans.go => plan/plans.go +2 -2
@@ 1,4 1,4 @@
// Package plan provides /subscription APIs related to plans.
// Package plan provides APIs related to plans.
package plan

import (


@@ 16,7 16,7 @@ const (
	createPlansURL = "/subscription/plans_create"
)

// Client performs operations related to plans.
// Client performs API operations.
type Client struct {
	*paddle.Client
}

M product/products.go => product/products.go +2 -2
@@ 1,4 1,4 @@
// Package product provides the /product/*_product APIs.
// Package product provides APIs related to products.
package product

import (


@@ 8,7 8,7 @@ import (
	"soquee.net/paddle"
)

// Client performs operations related to products.
// Client performs API operations.
type Client struct {
	*paddle.Client
}

M user/users.go => user/users.go +2 -2
@@ 1,4 1,4 @@
// Package user provides /subscription APIs related to users.
// Package user provides APIs related to users.
package user

import (


@@ 14,7 14,7 @@ const (
	listUsersURL = "/subscription/users"
)

// Client performs operations related to users.
// Client performs API operations.
type Client struct {
	*paddle.Client
}