Skip to content

Commit 1a10945

Browse files
committed
Updated formatting for tablewriter
1 parent a43dfa7 commit 1a10945

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/handler/auth/token.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ import (
1515
// TYPES
1616

1717
type Token struct {
18-
Name string `json:"name,omitempty"` // Name of the token
19-
Value string `json:"token,omitempty"` // Token value
20-
Expire time.Time `json:"expire_time,omitempty"` // Time of expiration for the token
21-
Time time.Time `json:"access_time"` // Time of last access
22-
Scope []string `json:"scopes,omitempty"` // Authentication scopes
18+
Name string `json:"name,omitempty"` // Name of the token
19+
Value string `json:"token,omitempty"` // Token value
20+
Expire time.Time `json:"expire_time,omitempty" writer:",width:29"` // Time of expiration for the token
21+
Time time.Time `json:"access_time,omitempty" writer:",width:29"` // Time of last access
22+
Scope []string `json:"scopes,omitempty" writer:",wrap"` // Authentication scopes
2323
}
2424

2525
type TokenCreate struct {

0 commit comments

Comments
 (0)