Skip to content

Commit bc73854

Browse files
committed
Add comment
1 parent f83dc0a commit bc73854

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

version_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ func TestEmbed(t *testing.T) {
179179
require.Equal(t, int64(3), a1.Version.Int64)
180180
}
181181

182+
// docker run --name gormpostgresql -e POSTGRES_PASSWORD=gorm -e POSTGRES_USER=gorm -d -p 5432:5432 postgres
182183
func TestPostgres(t *testing.T) {
183184
dsn := "host=127.0.0.1 user=gorm password=gorm dbname=gorm port=5432 sslmode=disable TimeZone=Asia/Shanghai"
184185
DB, err := gorm.Open(postgres.Open(dsn), &gorm.Config{})

0 commit comments

Comments
 (0)