Skip to content

Commit 8c2c437

Browse files
committed
chore: pre commit
1 parent 6f8adc7 commit 8c2c437

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ require (
1616
github.com/spf13/pflag v1.0.5
1717
github.com/stretchr/testify v1.9.0
1818
github.com/uptrace/bun v1.2.3
19+
github.com/uptrace/bun/dialect/pgdialect v1.2.3
1920
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0
2021
go.opentelemetry.io/otel v1.30.0
2122
go.opentelemetry.io/otel/trace v1.30.0
@@ -119,7 +120,6 @@ require (
119120
github.com/riandyrn/otelchi v0.10.0 // indirect
120121
github.com/rs/cors v1.11.1 // indirect
121122
github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
122-
github.com/uptrace/bun/dialect/pgdialect v1.2.3 // indirect
123123
github.com/uptrace/bun/extra/bunotel v1.2.3 // indirect
124124
github.com/uptrace/opentelemetry-go-extra/otellogrus v0.3.2 // indirect
125125
github.com/uptrace/opentelemetry-go-extra/otelsql v0.3.2 // indirect

pkg/server/update.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
package server
22

33
import (
4+
"net/http"
5+
46
"github.com/formancehq/go-libs/logging"
57
webhooks "github.com/formancehq/webhooks/pkg"
68
"github.com/formancehq/webhooks/pkg/server/apierrors"
79
"github.com/formancehq/webhooks/pkg/storage"
810
"github.com/go-chi/chi/v5"
911
"github.com/pkg/errors"
10-
"net/http"
1112
)
1213

1314
func (h *serverHandler) updateOneConfigHandle(w http.ResponseWriter, r *http.Request) {

pkg/storage/postgres/postgres.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ package postgres
33
import (
44
"context"
55
"database/sql"
6-
"github.com/uptrace/bun/dialect/pgdialect"
76
"time"
87

8+
"github.com/uptrace/bun/dialect/pgdialect"
9+
910
webhooks "github.com/formancehq/webhooks/pkg"
1011
"github.com/formancehq/webhooks/pkg/storage"
1112
"github.com/pkg/errors"

0 commit comments

Comments
 (0)