Skip to content

Commit

Permalink
Correct module name (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatthm authored Aug 18, 2022
1 parent ba5956e commit a0fc084
Show file tree
Hide file tree
Showing 26 changed files with 89 additions and 67 deletions.
34 changes: 28 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,28 @@ Common Image Registry for Testcontainers-Go
go get go.nhat.io/testcontainers-registry
```

## Elasticsearch

```go
package example

import (
"context"

es "go.nhat.io/testcontainers-registry/elasticsearch"
testcontainers "go.nhat.io/testcontainers-extra"
)

const (
dbName = "test"
migrationSource = "file://./resources/migrations/"
)

func startElasticsearch() (testcontainers.Container, error) {
return es.StartGenericContainer(context.Background())
}
```

## Mongo

```go
Expand All @@ -27,7 +49,7 @@ package example
import (
"context"

"go.nhat.io/testcontainers-go-registry/mongo"
"go.nhat.io/testcontainers-registry/mongo"
testcontainers "go.nhat.io/testcontainers-extra"
)

Expand All @@ -51,7 +73,7 @@ package example
import (
"context"

"go.nhat.io/testcontainers-go-registry/mysql"
"go.nhat.io/testcontainers-registry/mysql"
testcontainers "go.nhat.io/testcontainers-extra"
)

Expand All @@ -78,7 +100,7 @@ package example
import (
"context"

"go.nhat.io/testcontainers-go-registry/postgres"
"go.nhat.io/testcontainers-registry/postgres"
testcontainers "go.nhat.io/testcontainers-extra"
)

Expand Down Expand Up @@ -106,7 +128,7 @@ import (
"context"

testcontainers "go.nhat.io/testcontainers-extra"
"go.nhat.io/testcontainers-go-registry/mssql"
"go.nhat.io/testcontainers-registry/mssql"
)

const (
Expand All @@ -133,7 +155,7 @@ package example
import (
"context"

"go.nhat.io/testcontainers-go-registry/postgres"
"go.nhat.io/testcontainers-registry/postgres"
testcontainers "go.nhat.io/testcontainers-extra"
)

Expand All @@ -160,7 +182,7 @@ import (
"context"

testcontainers "go.nhat.io/testcontainers-extra"
"go.nhat.io/testcontainers-go-registry/mysql"
"go.nhat.io/testcontainers-registry/mysql"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package elasticsearch
import (
"context"

"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-extra"
)

// StartGenericContainer starts a new mysql container.
Expand Down
4 changes: 2 additions & 2 deletions elasticsearch/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module go.nhat.io/testcontainers-go-registry/elasticsearch
module go.nhat.io/testcontainers-registry/elasticsearch

go 1.18

require (
github.com/docker/docker v20.10.17+incompatible
github.com/docker/go-units v0.4.0
github.com/stretchr/testify v1.8.0
go.nhat.io/testcontainers-go-extra v0.4.0
go.nhat.io/testcontainers-extra v0.5.0
)

require (
Expand Down
4 changes: 2 additions & 2 deletions elasticsearch/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,8 @@ go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4=
go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg=
go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk=
go.nhat.io/testcontainers-go-extra v0.4.0 h1:LJIkviVSO6mP82zqREhFMRuoUODqNvzT66X+GU8uNiY=
go.nhat.io/testcontainers-go-extra v0.4.0/go.mod h1:vJn/acYygoFnmR+r0eWdHSsOHIs38ItiKAwVQVi2OB0=
go.nhat.io/testcontainers-extra v0.5.0 h1:zOVezME+hNuRd26KmcZwcnSn1upKDn0AzzgBrCEcbaI=
go.nhat.io/testcontainers-extra v0.5.0/go.mod h1:68Y74GSXbiLGLkMifzTe6rVWV4EU+CU2akDcyqmNM0E=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
Expand Down
4 changes: 2 additions & 2 deletions elasticsearch/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/docker/docker/api/types/container"
"github.com/docker/go-units"
"go.nhat.io/testcontainers-go-extra"
extrawait "go.nhat.io/testcontainers-go-extra/wait"
"go.nhat.io/testcontainers-extra"
extrawait "go.nhat.io/testcontainers-extra/wait"
)

// Request creates a new request for starting an elasticsearch server.
Expand Down
4 changes: 2 additions & 2 deletions elasticsearch/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-extra"

es "go.nhat.io/testcontainers-go-registry/elasticsearch"
es "go.nhat.io/testcontainers-registry/elasticsearch"
)

func TestRunMigrations(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion mongo/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mongo
import (
"context"

"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-extra"
)

// StartGenericContainer starts a new mysql container.
Expand Down
6 changes: 3 additions & 3 deletions mongo/go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module go.nhat.io/testcontainers-go-registry/mongo
module go.nhat.io/testcontainers-registry/mongo

go 1.18

require (
github.com/golang-migrate/migrate/v4 v4.15.2
github.com/stretchr/testify v1.8.0
go.mongodb.org/mongo-driver v1.10.1
go.nhat.io/testcontainers-go-extra v0.4.0
go.nhat.io/testcontainers-go-registry v0.6.0
go.nhat.io/testcontainers-extra v0.5.0
go.nhat.io/testcontainers-registry v0.7.0
)

require (
Expand Down
8 changes: 4 additions & 4 deletions mongo/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1137,10 +1137,10 @@ go.mongodb.org/mongo-driver v1.7.0/go.mod h1:Q4oFMbo1+MSNqICAdYMlC/zSTrwCogR4R8N
go.mongodb.org/mongo-driver v1.10.1 h1:NujsPveKwHaWuKUer/ceo9DzEe7HIj1SlJ6uvXZG0S4=
go.mongodb.org/mongo-driver v1.10.1/go.mod h1:z4XpeoU6w+9Vht+jAFyLgVrD+jGSQQe0+CBWFHNiHt8=
go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk=
go.nhat.io/testcontainers-go-extra v0.4.0 h1:LJIkviVSO6mP82zqREhFMRuoUODqNvzT66X+GU8uNiY=
go.nhat.io/testcontainers-go-extra v0.4.0/go.mod h1:vJn/acYygoFnmR+r0eWdHSsOHIs38ItiKAwVQVi2OB0=
go.nhat.io/testcontainers-go-registry v0.6.0 h1:2FGFVNKzuG5f2wVSCygJ94C0ZvKRAgyt2VtwRSO0caA=
go.nhat.io/testcontainers-go-registry v0.6.0/go.mod h1:Grp67VHCIEDhab50tkg/6t/p4y+KwvVLC5qy641v5fo=
go.nhat.io/testcontainers-extra v0.5.0 h1:zOVezME+hNuRd26KmcZwcnSn1upKDn0AzzgBrCEcbaI=
go.nhat.io/testcontainers-extra v0.5.0/go.mod h1:68Y74GSXbiLGLkMifzTe6rVWV4EU+CU2akDcyqmNM0E=
go.nhat.io/testcontainers-registry v0.7.0 h1:whKQ82P3y+j2hjQqndahLICPN+oot9bM9YWikEi4rN8=
go.nhat.io/testcontainers-registry v0.7.0/go.mod h1:K0LpN5cnqh99ExcoEfQvi1v5XnHEJKU7gz4NpyB/Q7g=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
Expand Down
6 changes: 3 additions & 3 deletions mongo/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"time"

_ "github.com/golang-migrate/migrate/v4/database/mongodb" // Database driver
"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-go-extra/wait"
"go.nhat.io/testcontainers-extra"
"go.nhat.io/testcontainers-extra/wait"

db "go.nhat.io/testcontainers-go-registry/database"
db "go.nhat.io/testcontainers-registry/database"
)

// Request creates a new request for starting a mongo server.
Expand Down
4 changes: 2 additions & 2 deletions mongo/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/mongo/options"
"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-extra"

mongodb "go.nhat.io/testcontainers-go-registry/mongo"
mongodb "go.nhat.io/testcontainers-registry/mongo"
)

func TestRunMigrations(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion mssql/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mssql
import (
"context"

"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-extra"
)

// StartGenericContainer starts a new mssql container.
Expand Down
6 changes: 3 additions & 3 deletions mssql/go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module go.nhat.io/testcontainers-go-registry/mssql
module go.nhat.io/testcontainers-registry/mssql

go 1.18

require (
github.com/golang-migrate/migrate/v4 v4.15.2
github.com/stretchr/testify v1.8.0
github.com/testcontainers/testcontainers-go v0.13.0
go.nhat.io/testcontainers-go-extra v0.4.0
go.nhat.io/testcontainers-go-registry v0.6.0
go.nhat.io/testcontainers-extra v0.5.0
go.nhat.io/testcontainers-registry v0.7.0
)

require (
Expand Down
8 changes: 4 additions & 4 deletions mssql/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1144,10 +1144,10 @@ go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD0
go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4=
go.mongodb.org/mongo-driver v1.7.0/go.mod h1:Q4oFMbo1+MSNqICAdYMlC/zSTrwCogR4R8NzkI+yfU8=
go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk=
go.nhat.io/testcontainers-go-extra v0.4.0 h1:LJIkviVSO6mP82zqREhFMRuoUODqNvzT66X+GU8uNiY=
go.nhat.io/testcontainers-go-extra v0.4.0/go.mod h1:vJn/acYygoFnmR+r0eWdHSsOHIs38ItiKAwVQVi2OB0=
go.nhat.io/testcontainers-go-registry v0.6.0 h1:2FGFVNKzuG5f2wVSCygJ94C0ZvKRAgyt2VtwRSO0caA=
go.nhat.io/testcontainers-go-registry v0.6.0/go.mod h1:Grp67VHCIEDhab50tkg/6t/p4y+KwvVLC5qy641v5fo=
go.nhat.io/testcontainers-extra v0.5.0 h1:zOVezME+hNuRd26KmcZwcnSn1upKDn0AzzgBrCEcbaI=
go.nhat.io/testcontainers-extra v0.5.0/go.mod h1:68Y74GSXbiLGLkMifzTe6rVWV4EU+CU2akDcyqmNM0E=
go.nhat.io/testcontainers-registry v0.7.0 h1:whKQ82P3y+j2hjQqndahLICPN+oot9bM9YWikEi4rN8=
go.nhat.io/testcontainers-registry v0.7.0/go.mod h1:K0LpN5cnqh99ExcoEfQvi1v5XnHEJKU7gz4NpyB/Q7g=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
Expand Down
6 changes: 3 additions & 3 deletions mssql/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (

_ "github.com/golang-migrate/migrate/v4/database/sqlserver" // Database driver
"github.com/testcontainers/testcontainers-go/wait"
"go.nhat.io/testcontainers-go-extra"
extrawait "go.nhat.io/testcontainers-go-extra/wait"
"go.nhat.io/testcontainers-extra"
extrawait "go.nhat.io/testcontainers-extra/wait"

db "go.nhat.io/testcontainers-go-registry/database"
db "go.nhat.io/testcontainers-registry/database"
)

// Request creates a new request for starting a mssql server.
Expand Down
4 changes: 2 additions & 2 deletions mssql/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-extra"

"go.nhat.io/testcontainers-go-registry/mssql"
"go.nhat.io/testcontainers-registry/mssql"
)

func TestRunMigrations(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion mysql/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package mysql
import (
"context"

"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-extra"
)

// StartGenericContainer starts a new mysql container.
Expand Down
6 changes: 3 additions & 3 deletions mysql/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module go.nhat.io/testcontainers-go-registry/mysql
module go.nhat.io/testcontainers-registry/mysql

go 1.18

Expand All @@ -7,8 +7,8 @@ require (
github.com/golang-migrate/migrate/v4 v4.15.2
github.com/stretchr/testify v1.8.0
github.com/testcontainers/testcontainers-go v0.13.0
go.nhat.io/testcontainers-go-extra v0.4.0
go.nhat.io/testcontainers-go-registry v0.6.0
go.nhat.io/testcontainers-extra v0.5.0
go.nhat.io/testcontainers-registry v0.7.0
)

require (
Expand Down
8 changes: 4 additions & 4 deletions mysql/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1122,10 +1122,10 @@ go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD0
go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4=
go.mongodb.org/mongo-driver v1.7.0/go.mod h1:Q4oFMbo1+MSNqICAdYMlC/zSTrwCogR4R8NzkI+yfU8=
go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk=
go.nhat.io/testcontainers-go-extra v0.4.0 h1:LJIkviVSO6mP82zqREhFMRuoUODqNvzT66X+GU8uNiY=
go.nhat.io/testcontainers-go-extra v0.4.0/go.mod h1:vJn/acYygoFnmR+r0eWdHSsOHIs38ItiKAwVQVi2OB0=
go.nhat.io/testcontainers-go-registry v0.6.0 h1:2FGFVNKzuG5f2wVSCygJ94C0ZvKRAgyt2VtwRSO0caA=
go.nhat.io/testcontainers-go-registry v0.6.0/go.mod h1:Grp67VHCIEDhab50tkg/6t/p4y+KwvVLC5qy641v5fo=
go.nhat.io/testcontainers-extra v0.5.0 h1:zOVezME+hNuRd26KmcZwcnSn1upKDn0AzzgBrCEcbaI=
go.nhat.io/testcontainers-extra v0.5.0/go.mod h1:68Y74GSXbiLGLkMifzTe6rVWV4EU+CU2akDcyqmNM0E=
go.nhat.io/testcontainers-registry v0.7.0 h1:whKQ82P3y+j2hjQqndahLICPN+oot9bM9YWikEi4rN8=
go.nhat.io/testcontainers-registry v0.7.0/go.mod h1:K0LpN5cnqh99ExcoEfQvi1v5XnHEJKU7gz4NpyB/Q7g=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
Expand Down
6 changes: 3 additions & 3 deletions mysql/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (

_ "github.com/golang-migrate/migrate/v4/database/mysql" // Database driver
"github.com/testcontainers/testcontainers-go/wait"
"go.nhat.io/testcontainers-go-extra"
extrawait "go.nhat.io/testcontainers-go-extra/wait"
"go.nhat.io/testcontainers-extra"
extrawait "go.nhat.io/testcontainers-extra/wait"

db "go.nhat.io/testcontainers-go-registry/database"
db "go.nhat.io/testcontainers-registry/database"
)

// Request creates a new request for starting a mysql server.
Expand Down
4 changes: 2 additions & 2 deletions mysql/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
_ "github.com/go-sql-driver/mysql" // Database driver
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-extra"

"go.nhat.io/testcontainers-go-registry/mysql"
"go.nhat.io/testcontainers-registry/mysql"
)

func TestRunMigrations(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion postgres/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package postgres
import (
"context"

"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-extra"
)

// StartGenericContainer starts a new mysql container.
Expand Down
6 changes: 3 additions & 3 deletions postgres/go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module go.nhat.io/testcontainers-go-registry/postgres
module go.nhat.io/testcontainers-registry/postgres

go 1.18

require (
github.com/golang-migrate/migrate/v4 v4.15.2
github.com/jackc/pgx/v4 v4.17.0
github.com/stretchr/testify v1.8.0
go.nhat.io/testcontainers-go-extra v0.4.0
go.nhat.io/testcontainers-go-registry v0.6.0
go.nhat.io/testcontainers-extra v0.5.0
go.nhat.io/testcontainers-registry v0.7.0
)

require (
Expand Down
8 changes: 4 additions & 4 deletions postgres/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1150,10 +1150,10 @@ go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD0
go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4=
go.mongodb.org/mongo-driver v1.7.0/go.mod h1:Q4oFMbo1+MSNqICAdYMlC/zSTrwCogR4R8NzkI+yfU8=
go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk=
go.nhat.io/testcontainers-go-extra v0.4.0 h1:LJIkviVSO6mP82zqREhFMRuoUODqNvzT66X+GU8uNiY=
go.nhat.io/testcontainers-go-extra v0.4.0/go.mod h1:vJn/acYygoFnmR+r0eWdHSsOHIs38ItiKAwVQVi2OB0=
go.nhat.io/testcontainers-go-registry v0.6.0 h1:2FGFVNKzuG5f2wVSCygJ94C0ZvKRAgyt2VtwRSO0caA=
go.nhat.io/testcontainers-go-registry v0.6.0/go.mod h1:Grp67VHCIEDhab50tkg/6t/p4y+KwvVLC5qy641v5fo=
go.nhat.io/testcontainers-extra v0.5.0 h1:zOVezME+hNuRd26KmcZwcnSn1upKDn0AzzgBrCEcbaI=
go.nhat.io/testcontainers-extra v0.5.0/go.mod h1:68Y74GSXbiLGLkMifzTe6rVWV4EU+CU2akDcyqmNM0E=
go.nhat.io/testcontainers-registry v0.7.0 h1:whKQ82P3y+j2hjQqndahLICPN+oot9bM9YWikEi4rN8=
go.nhat.io/testcontainers-registry v0.7.0/go.mod h1:K0LpN5cnqh99ExcoEfQvi1v5XnHEJKU7gz4NpyB/Q7g=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
Expand Down
6 changes: 3 additions & 3 deletions postgres/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"time"

_ "github.com/golang-migrate/migrate/v4/database/postgres" // Database driver
"go.nhat.io/testcontainers-go-extra"
"go.nhat.io/testcontainers-go-extra/wait"
db "go.nhat.io/testcontainers-go-registry/database"
"go.nhat.io/testcontainers-extra"
"go.nhat.io/testcontainers-extra/wait"
db "go.nhat.io/testcontainers-registry/database"
)

// Request creates a new request for starting a postgres server.
Expand Down
Loading

0 comments on commit a0fc084

Please sign in to comment.