diff options
author | 2025-01-27 15:54:59 +0000 | |
---|---|---|
committer | 2025-01-27 15:54:59 +0000 | |
commit | 726d2ba483b58402fa5e8d5a99d5cbd290bdeb67 (patch) | |
tree | ec597aa14d4c5cd8f36661750ff71a3ffbc2eb2d /internal/gtsmodel/token.go | |
parent | bumps uptrace/bun deps to v1.2.8 (#3698) (diff) | |
download | gotosocial-726d2ba483b58402fa5e8d5a99d5cbd290bdeb67.tar.xz |
[chore] some tidy ups (#3677)
* small formatting changes (no logic)
* improve code comments
* fix import cycle
* shutup stinky linter
Diffstat (limited to 'internal/gtsmodel/token.go')
-rw-r--r-- | internal/gtsmodel/token.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/gtsmodel/token.go b/internal/gtsmodel/token.go index fd640abde..0586ae68a 100644 --- a/internal/gtsmodel/token.go +++ b/internal/gtsmodel/token.go @@ -19,7 +19,8 @@ package gtsmodel import "time" -// Token is a translation of the gotosocial token with the ExpiresIn fields replaced with ExpiresAt. +// Token is a translation of the gotosocial token +// with the ExpiresIn fields replaced with ExpiresAt. type Token struct { ID string `bun:"type:CHAR(26),pk,nullzero,notnull,unique"` // id of this item in the database CreatedAt time.Time `bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"` // when was item created |