internal logging library
This commit is contained in:
@@ -3,18 +3,18 @@ package etsy
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log/slog"
|
||||
"net/http"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"ruben/inventory2/internal/domains/platforms/etsy"
|
||||
"ruben/inventory2/internal/domains/raw_events"
|
||||
"ruben/inventory2/internal/logging"
|
||||
)
|
||||
|
||||
type (
|
||||
Webhooks struct {
|
||||
log *slog.Logger
|
||||
log *logging.Logger
|
||||
cfg Config
|
||||
db *raw_events.Store
|
||||
etsy *etsy.Platform
|
||||
@@ -26,7 +26,7 @@ type (
|
||||
)
|
||||
|
||||
func NewWebhookHandler(
|
||||
logger *slog.Logger,
|
||||
logger *logging.Logger,
|
||||
db *raw_events.Store,
|
||||
platform *etsy.Platform,
|
||||
cfg Config,
|
||||
|
||||
Reference in New Issue
Block a user