Skip to content

Commit

Permalink
Rename package from client to lemonsqueezy
Browse files Browse the repository at this point in the history
AchoArnold committed Aug 9, 2023

Verified

This commit was signed with the committer’s verified signature.
myii Imran Iqbal
1 parent b6acc31 commit d081c09
Showing 56 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion checkout.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion checkouts_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion checkouts_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"bytes"
2 changes: 1 addition & 1 deletion client_config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "net/http"

2 changes: 1 addition & 1 deletion client_option.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"net/http"
2 changes: 1 addition & 1 deletion client_option_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"net/http"
2 changes: 1 addition & 1 deletion contracts.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

// ApiResponse represents an API response
type ApiResponse[T any, R any] struct {
2 changes: 1 addition & 1 deletion customer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion customers_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion customers_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion discount.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion discount_redemption.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion discount_redemption_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion discount_redemption_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion discounts_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion discounts_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion file.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion files_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion files_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion license_key.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion license_key_instance.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion license_key_instance_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion license_key_instance_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion license_key_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion license_key_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion order.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion order_item.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion order_items_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion order_items_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion orders_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion orders_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion product.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion products_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion products_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion response.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"bytes"
2 changes: 1 addition & 1 deletion store.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion stores_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion stores_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion subscription_invoice.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion subscription_invoice_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion subscription_invoices_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion subscriptions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion subscriptions_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion subscriptions_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion users_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion users_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion variant.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion variants_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion variants_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion webhook.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import "time"

2 changes: 1 addition & 1 deletion webhook_request.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

// WebhookRequestOrder is the payload for order related events e.g. order_created, order_refunded
type WebhookRequestOrder WebhookRequest[OrderAttributes, ApiResponseRelationshipsOrder]
2 changes: 1 addition & 1 deletion webhook_request_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"encoding/json"
2 changes: 1 addition & 1 deletion webhooks_service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"
2 changes: 1 addition & 1 deletion webhooks_service_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package client
package lemonsqueezy

import (
"context"

0 comments on commit d081c09

Please sign in to comment.