From 271be34fd680da6ad90c4e2010be68bdf16ee38f Mon Sep 17 00:00:00 2001 From: Till Faelligen Date: Thu, 12 May 2022 09:59:48 +0200 Subject: [PATCH] Linter --- userapi/storage/shared/storage.go | 34 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/userapi/storage/shared/storage.go b/userapi/storage/shared/storage.go index 64eec8124..bc5649edd 100644 --- a/userapi/storage/shared/storage.go +++ b/userapi/storage/shared/storage.go @@ -39,23 +39,23 @@ import ( // Database represents an account database type Database struct { - DB *sql.DB - Writer sqlutil.Writer - Accounts tables.AccountsTable - Profiles tables.ProfileTable - AccountDatas tables.AccountDataTable - ThreePIDs tables.ThreePIDTable - OpenIDTokens tables.OpenIDTable - KeyBackups tables.KeyBackupTable - KeyBackupVersions tables.KeyBackupVersionTable - Devices tables.DevicesTable - LoginTokens tables.LoginTokenTable - Notifications tables.NotificationTable - Pushers tables.PusherTable - Stats tables.StatsTable - LoginTokenLifetime time.Duration - ServerName gomatrixserverlib.ServerName - BcryptCost int + DB *sql.DB + Writer sqlutil.Writer + Accounts tables.AccountsTable + Profiles tables.ProfileTable + AccountDatas tables.AccountDataTable + ThreePIDs tables.ThreePIDTable + OpenIDTokens tables.OpenIDTable + KeyBackups tables.KeyBackupTable + KeyBackupVersions tables.KeyBackupVersionTable + Devices tables.DevicesTable + LoginTokens tables.LoginTokenTable + Notifications tables.NotificationTable + Pushers tables.PusherTable + Stats tables.StatsTable + LoginTokenLifetime time.Duration + ServerName gomatrixserverlib.ServerName + BcryptCost int OpenIDTokenLifetime time.Duration }