From 00a08fec286be1974f1fbfd83beb833f6ce749ea Mon Sep 17 00:00:00 2001 From: Aidan Kenney Date: Mon, 15 Jul 2024 15:09:28 -0400 Subject: [PATCH] Run linter --- database/database.go | 2 +- database/dialect/clickhouse/clickhouse.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/database/database.go b/database/database.go index 48122542..e33cb63e 100644 --- a/database/database.go +++ b/database/database.go @@ -20,7 +20,7 @@ import ( // import _ "goyave.dev/goyave/v5/database/dialect/postgres" // import _ "goyave.dev/goyave/v5/database/dialect/sqlite" // import _ "goyave.dev/goyave/v5/database/dialect/mssql" -// import _ "goyave.dev/goyave/v5/database/dialect/clickhouse" +// import _ "goyave.dev/goyave/v5/database/dialect/clickhouse" func New(cfg *config.Config, logger func() *slog.Logger) (*gorm.DB, error) { driver := cfg.GetString("database.connection") diff --git a/database/dialect/clickhouse/clickhouse.go b/database/dialect/clickhouse/clickhouse.go index 0465645f..24fcbcfd 100644 --- a/database/dialect/clickhouse/clickhouse.go +++ b/database/dialect/clickhouse/clickhouse.go @@ -1,10 +1,10 @@ package clickhouse import ( - "gorm.io/driver/clickhouse" - "goyave.dev/goyave/v5/database" + "gorm.io/driver/clickhouse" + "goyave.dev/goyave/v5/database" ) func init() { - database.RegisterDialect("clickhouse", "clickhouse://{username}:{password}@{host}:{port}/{name}?{options}", clickhouse.Open) + database.RegisterDialect("clickhouse", "clickhouse://{username}:{password}@{host}:{port}/{name}?{options}", clickhouse.Open) }