functions

package
v0.2.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2025 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAllEnv

func CheckAllEnv()

func CheckMourosDate

func CheckMourosDate() bool

func DefinePaymentMethod

func DefinePaymentMethod(customerID string, paymentIntentID string) error

func DoesUserHaveActiveSubscription

func DoesUserHaveActiveSubscription(tokenizeID int) (bool, error)

func GenerateUUID

func GenerateUUID() string

func GetEndDateUserStripe added in v0.2.16

func GetEndDateUserStripe(userId int) (database.Date, error)

func GetLatestDate added in v0.2.22

func GetLatestDate(d1 database.Date, d2 database.Date) database.Date

func GetMourosStartingDate added in v0.2.21

func GetMourosStartingDate() (time.Time, error)

func GetStringForSubscription

func GetStringForSubscription() string

func HasStartingDayPassed

func HasStartingDayPassed() bool

func IsValidDate

func IsValidDate(dates string)

func IsValidEmail

func IsValidEmail(email string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL