Versions in this module Expand all Collapse all v1 v1.0.0 Sep 4, 2026 Changes in this version + func ClearTables(ctx context.Context, client *postgres.Client, tables ...string) + func DropTables(ctx context.Context, client *postgres.Client, tables ...string) + func RunWithPostgres(ctx context.Context, m *testing.M, logger *slog.Logger, ...) + type Config struct + DataDirectory string + Database string + Host string + MaxConns int + Password string + Port int + User string + type Server struct + func NewServer(config Config) *Server + func (s *Server) Client() *postgres.Client + func (s *Server) Opts() *postgres.Opts + func (s *Server) Shutdown() error + func (s *Server) Start(ctx context.Context) error + func (s *Server) WithLogger(log *slog.Logger) *Server