From 726d2ba483b58402fa5e8d5a99d5cbd290bdeb67 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Mon, 27 Jan 2025 15:54:59 +0000 Subject: [chore] some tidy ups (#3677) * small formatting changes (no logic) * improve code comments * fix import cycle * shutup stinky linter --- internal/gtsmodel/token.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/gtsmodel/token.go') 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 -- cgit v1.2.3