chore: add healthz point

This commit is contained in:
Steven
2024-01-10 00:28:57 +08:00
parent d46e83b735
commit 4bc2a0ff42
4 changed files with 23 additions and 13 deletions

View File

@ -3,7 +3,6 @@ package postgres
import (
"context"
"errors"
"fmt"
"strings"
"github.com/yourselfhosted/slash/store"
@ -153,7 +152,3 @@ func (d *DB) DeleteUser(ctx context.Context, delete *store.DeleteUser) error {
}
return nil
}
func placeholder(n int) string {
return "$" + fmt.Sprint(n)
}