1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

feat(wip): stripe integration for subscriptions

This commit is contained in:
Ferdinand Mütsch
2022-12-19 22:11:34 +01:00
parent 333c1b5dd0
commit f39ecc46bd
6 changed files with 164 additions and 1 deletions

View File

@ -35,6 +35,7 @@ type User struct {
ReportsWeekly bool `json:"-" gorm:"default:false; type:bool"`
PublicLeaderboard bool `json:"-" gorm:"default:false; type:bool"`
SubscribedUntil *CustomTime `json:"-" gorm:"type:timestamp" swaggertype:"string" format:"date" example:"2006-01-02 15:04:05.000"`
StripeCustomerId string `json:"-"`
}
type Login struct {