Make it easy to build without Stripe
This commit is contained in:
13
payments/payments_dummy.go
Normal file
13
payments/payments_dummy.go
Normal file
@@ -0,0 +1,13 @@
|
||||
//go:build nopayments
|
||||
|
||||
package payments
|
||||
|
||||
const Available = false
|
||||
|
||||
type SubscriptionStatus string
|
||||
|
||||
type PriceRecurringInterval string
|
||||
|
||||
func Setup(stripeSecretKey string) {
|
||||
// Nothing to see here
|
||||
}
|
||||
Reference in New Issue
Block a user