style(database/postgres.go): Capitalize DSN in comment (#3993)

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2025-04-25 10:49:06 +08:00 committed by GitHub
parent 2c83f80606
commit 4406a0a1b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ import (
func newPostgres(cfg *config.Config) (*gorm.DB, error) { func newPostgres(cfg *config.Config) (*gorm.DB, error) {
postgresCfg := &cfg.Database.Postgres postgresCfg := &cfg.Database.Postgres
// Format dsn string. // Format DSN string.
dsn := formatPostgresDSN(postgresCfg) dsn := formatPostgresDSN(postgresCfg)
// Connect to postgres. // Connect to postgres.