mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-29 07:28:52 +00:00
* fix: move eventstore pkgs * fix: move eventstore pkgs * fix: remove v2 view * fix: remove v2 view
18 lines
205 B
Go
18 lines
205 B
Go
package sql
|
|
|
|
import (
|
|
"context"
|
|
"database/sql"
|
|
|
|
//sql import
|
|
_ "github.com/lib/pq"
|
|
)
|
|
|
|
type SQL struct {
|
|
client *sql.DB
|
|
}
|
|
|
|
func (db *SQL) Health(ctx context.Context) error {
|
|
return db.client.Ping()
|
|
}
|