Skip to content

Commit

Permalink
chore: Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
laynax committed Oct 14, 2022
1 parent cf74c36 commit ff0da41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ func main() {
### ORM Integration

`go-sdk` comes with an integration with the popular
[gorm](https://github.com/jinzhu/gorm) as an object-relational mapper (ORM).
[gorm](https://gorm.io/gorm) as an object-relational mapper (ORM).
Using the configuration details, namely the [data source
name](https://en.wikipedia.org/wiki/Data_source_name) (DSN) as their product,
gorm is able to open a connection and give the `go-sdk` users a preconfigured
Expand Down Expand Up @@ -773,7 +773,7 @@ words the `NewConnection` function, so they remain opaque for the user.
#### Usage of ORM

Invoking the constructor for a database connection, `go-sdk` returns a
[Gorm-powered](https://github.com/jinzhu/gorm) database connection. It can be
[Gorm-powered](https://gorm.io/gorm) database connection. It can be
used right away to query the database:

```go
Expand All @@ -783,7 +783,7 @@ import (
"fmt"
sdkdb "github.com/scribd/go-sdk/pkg/database"
"github.com/jinzhu/gorm"
"gorm.io/gorm"
)
type User struct {
Expand Down Expand Up @@ -1040,7 +1040,7 @@ if err != nil {
`DatabaseLogging` for both HTTP and gRPC servers.

The `Database` middleware which instruments the
[Gorm-powered](https://github.com/jinzhu/gorm) database connection. It utilizes
[Gorm-powered](https://gorm.io/gorm) database connection. It utilizes
Gorm-specific callbacks that report spans and traces to Datadog. The
instrumented Gorm database connection is injected in the request `Context` and
it is always scoped within the request.
Expand Down

0 comments on commit ff0da41

Please sign in to comment.