Skip to content

Commit

Permalink
try TODO context
Browse files Browse the repository at this point in the history
  • Loading branch information
allanwei authored Oct 31, 2018
1 parent f3da413 commit b6391e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ func CreateDBCon(dbconnectionstring *string) (*DBcon, error) {
return nil, err

}
c := DBcon{DB: db, Ctx: context.Background()}
c := DBcon{DB: db, Ctx: context.TODO()}
return &c, nil
}

0 comments on commit b6391e2

Please sign in to comment.