summaryrefslogtreecommitdiff
path: root/internal/config/v2/v2.go
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-12 12:03:54 +0100
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-12 12:03:54 +0100
commitb00ce8214479c50e137db73c77b0cc1393c5e7d4 (patch)
tree5b5421728e91645ce5e44980f13029ad590a53ad /internal/config/v2/v2.go
parentfd7abf186da1895e20dd2fdb2e8a1406e60081d7 (diff)
All: Run modernize --test --fix
Diffstat (limited to 'internal/config/v2/v2.go')
-rw-r--r--internal/config/v2/v2.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/config/v2/v2.go b/internal/config/v2/v2.go
index 7851cb8..056fb73 100644
--- a/internal/config/v2/v2.go
+++ b/internal/config/v2/v2.go
@@ -18,9 +18,9 @@ type Server struct {
Profiles server.Profiles `json:"profiles"`
// LastAuthorizeTime is the time we last authorized
// This is used for determining when to show e.g. the renew button
- LastAuthorizeTime time.Time `json:"last_authorize_time,omitempty"`
+ LastAuthorizeTime time.Time `json:"last_authorize_time"`
// ExpireTime is the time at which the VPN expires
- ExpireTime time.Time `json:"expire_time,omitempty"`
+ ExpireTime time.Time `json:"expire_time"`
// CountryCode is the country code for the server in case of secure internet
// Otherwise it is an empty string