update
This commit is contained in:
@@ -17,7 +17,6 @@ type ServiceContext struct {
|
||||
func NewServiceContext(c config.Config) *ServiceContext {
|
||||
// Initialize database connection
|
||||
db, err := sql.Open("postgres", c.Database.DSN)
|
||||
println(c.Database.DSN)
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to connect to database: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user