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

feat: implement computation of users first heartbeats data time

This commit is contained in:
Ferdinand Mütsch
2022-12-23 13:41:32 +01:00
parent ebcf87ea93
commit 8a94fef06b
10 changed files with 117 additions and 20 deletions

View File

@ -1,6 +1,9 @@
package view
import "github.com/muety/wakapi/models"
import (
"github.com/muety/wakapi/models"
"time"
)
type SettingsViewModel struct {
User *models.User
@ -10,6 +13,7 @@ type SettingsViewModel struct {
Projects []string
SubscriptionPrice string
DataRetentionMonths int
UserFirstData time.Time
SupportContact string
ApiKey string
Success string