1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Display subscription information

This commit is contained in:
Harvey Kandola 2018-09-10 10:12:14 +01:00
parent 53e4861ded
commit 9ee9526a47
6 changed files with 708 additions and 684 deletions

4
core/env/product.go vendored
View file

@ -32,11 +32,13 @@ type License struct {
Name string `json:"name"`
Email string `json:"email"`
Edition string `json:"edition"`
Package string `json:"package"`
Plan string `json:"plan"`
Start time.Time `json:"start"`
End time.Time `json:"end"`
Seats int `json:"seats"`
Trial bool `json:"trial"`
Valid bool
Valid bool `json:"valid"`
}
// IsEmpty determines if we have a license.