Skip to content

Commit 9a440a1

Browse files
committed
updated db initialization
1 parent fc843bc commit 9a440a1

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

go/samples/http/mysqldb/mysql_driver.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
func ConnectMySQL(connection string) *sql.DB {
1313
db, err := gosql.Open("mysql", connection, core.CommenterOptions{
1414
Config: core.CommenterConfig{EnableDBDriver: true, EnableRoute: true, EnableAction: true, EnableFramework: true, EnableTraceparent: true, EnableApplication: true},
15-
Tags: core.StaticTags{},
1615
})
1716
if err != nil {
1817
log.Fatalf("Failed to connect to MySQL(%q), error: %v", connection, err)

go/samples/http/pgdb/pg_driver.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
func ConnectPG(connection string) *sql.DB {
1313
db, err := gosql.Open("postgres", connection, core.CommenterOptions{
1414
Config: core.CommenterConfig{EnableDBDriver: true, EnableRoute: true, EnableAction: true, EnableFramework: true, EnableTraceparent: true, EnableApplication: true},
15-
Tags: core.StaticTags{},
1615
})
1716
if err != nil {
1817
log.Fatalf("Failed to connect to PG(%q), error: %v", connection, err)

0 commit comments

Comments
 (0)