Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kazai777 committed Aug 21, 2024
1 parent d98cacf commit 53e11f6
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions examples/gno.land/p/demo/subscription/doc.gno
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
// Package subscription provides a flexible system for managing both recurring and
// lifetime subscriptions in Gno applications. It enables developers to handle
// payment-based access control for services or products. The library supports
// both subscriptions requiring periodic payments (recurring) and one-time payments
// (lifetime). Subscriptions are tracked using an AVL tree for efficient management
// Package subscription provides a flexible system for managing both recurring and
// lifetime subscriptions in Gno applications. It enables developers to handle
// payment-based access control for services or products. The library supports
// both subscriptions requiring periodic payments (recurring) and one-time payments
// (lifetime). Subscriptions are tracked using an AVL tree for efficient management
// of subscription statuses.
//
// Usage:
//
// Import the required sub-packages (`recurring` and/or `lifetime`) to manage specific
// subscription types. The methods provided allow users to subscribe, check subscription
// Import the required sub-packages (`recurring` and/or `lifetime`) to manage specific
// subscription types. The methods provided allow users to subscribe, check subscription
// status, and manage payments.
//
// Recurring Subscription:
//
// Recurring subscriptions require periodic payments to maintain access.
// Recurring subscriptions require periodic payments to maintain access.
// Users pay to extend their access for a specific duration.
//
// Example:
Expand Down Expand Up @@ -41,7 +41,7 @@
//
// Lifetime Subscription:
//
// Lifetime subscriptions require a one-time payment for permanent access.
// Lifetime subscriptions require a one-time payment for permanent access.
// Once paid, users have indefinite access without further payments.
//
// Example:
Expand All @@ -63,3 +63,4 @@
//
// // Get the current lifetime subscription amount
// lifeSub.GetAmount()
package subscription

0 comments on commit 53e11f6

Please sign in to comment.