mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
13 lines
242 B
Go
13 lines
242 B
Go
package services
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/formancehq/payments/internal/models"
|
|
)
|
|
|
|
func (s *Service) PoolsCreate(ctx context.Context, pool models.Pool) error {
|
|
err := s.engine.CreatePool(ctx, pool)
|
|
return handleEngineErrors(err)
|
|
}
|