mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 22:36:14 -06:00
improve code comments
This commit is contained in:
parent
0fab27b0ea
commit
f79c36084f
3 changed files with 17 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue