You connect to Materialize the same way you connect to PostgreSQL with pgx
.
Add pgx to your Go modules:
go get github.com/jackc/pgx/v4
Run the example:
go run connection.go
# Output:
# Connected to Materialize!
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
You connect to Materialize the same way you connect to PostgreSQL with pgx
.
Add pgx to your Go modules:
go get github.com/jackc/pgx/v4
Run the example:
go run connection.go
# Output:
# Connected to Materialize!