added close method to YclientsDal

This commit is contained in:
pasha1coil 2025-09-18 14:46:31 +03:00
parent f89981e3ad
commit 0f50c86b1a

@ -362,3 +362,11 @@ func NewYclientsDal(ctx context.Context, cred string) (*YclientsDal, error) {
AnswerRepo: answerRepo,
}, nil
}
func (d *YclientsDal) Close(ctx context.Context) error {
err := d.conn.Close()
if err != nil {
return err
}
return nil
}