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:
parent
53e4861ded
commit
9ee9526a47
6 changed files with 708 additions and 684 deletions
4
core/env/product.go
vendored
4
core/env/product.go
vendored
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue