File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ import (
10
10
"net/url"
11
11
"path/filepath"
12
12
13
+ "github.com/h2non/filetype"
13
14
"github.com/nyaruka/courier/utils"
14
15
"github.com/nyaruka/gocommon/httpx"
15
16
"github.com/pkg/errors"
16
- "gopkg.in/h2non/filetype.v1"
17
17
)
18
18
19
19
const (
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import (
15
15
16
16
"github.com/buger/jsonparser"
17
17
"github.com/gomodule/redigo/redis"
18
+ filetype "github.com/h2non/filetype"
18
19
"github.com/lib/pq"
19
20
"github.com/nyaruka/courier"
20
21
"github.com/nyaruka/courier/queue"
@@ -23,7 +24,6 @@ import (
23
24
"github.com/nyaruka/gocommon/uuids"
24
25
"github.com/nyaruka/null/v3"
25
26
"github.com/pkg/errors"
26
- filetype "gopkg.in/h2non/filetype.v1"
27
27
)
28
28
29
29
// MsgDirection is the direction of a message
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ require (
12
12
github.com/golang-jwt/jwt/v5 v5.2.1
13
13
github.com/gomodule/redigo v1.9.2
14
14
github.com/gorilla/schema v1.2.1
15
+ github.com/h2non/filetype v1.1.3
15
16
github.com/jmoiron/sqlx v1.3.5
16
17
github.com/lib/pq v1.10.9
17
18
github.com/nyaruka/ezconf v0.3.0
@@ -26,7 +27,6 @@ require (
26
27
golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f
27
28
golang.org/x/mod v0.16.0
28
29
gopkg.in/go-playground/validator.v9 v9.31.0
29
- gopkg.in/h2non/filetype.v1 v1.0.5
30
30
)
31
31
32
32
require (
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ github.com/gorilla/schema v1.2.1 h1:tjDxcmdb+siIqkTNoV+qRH2mjYdr2hHe5MKXbp61ziM=
46
46
github.com/gorilla/schema v1.2.1 /go.mod h1:Dg5SSm5PV60mhF2NFaTV1xuYYj8tV8NOPRo4FggUMnM =
47
47
github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY =
48
48
github.com/gorilla/websocket v1.5.1 /go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY =
49
+ github.com/h2non/filetype v1.1.3 h1:FKkx9QbD7HR/zjK1Ia5XiBsq9zdLi5Kf3zGyFTAFkGg =
50
+ github.com/h2non/filetype v1.1.3 /go.mod h1:319b3zT68BvV+WRj7cwy856M2ehB3HqNOt6sy1HndBY =
49
51
github.com/jellydator/ttlcache/v3 v3.2.0 h1:6lqVJ8X3ZaUwvzENqPAobDsXNExfUJd61u++uW8a3LE =
50
52
github.com/jellydator/ttlcache/v3 v3.2.0 /go.mod h1:hi7MGFdMAwZna5n2tuvh63DvFLzVKySzCVW6+0gA2n4 =
51
53
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg =
@@ -151,8 +153,6 @@ gopkg.in/go-playground/assert.v1 v1.2.1 h1:xoYuJVE7KT85PYWrN730RguIQO0ePzVRfFMXa
151
153
gopkg.in/go-playground/assert.v1 v1.2.1 /go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE =
152
154
gopkg.in/go-playground/validator.v9 v9.31.0 h1:bmXmP2RSNtFES+bn4uYuHT7iJFJv7Vj+an+ZQdDaD1M =
153
155
gopkg.in/go-playground/validator.v9 v9.31.0 /go.mod h1:+c9/zcJMFNgbLvly1L1V+PpxWdVbfP1avr/N00E2vyQ =
154
- gopkg.in/h2non/filetype.v1 v1.0.5 h1:CC1jjJjoEhNVbMhXYalmGBhOBK2V70Q1N850wt/98/Y =
155
- gopkg.in/h2non/filetype.v1 v1.0.5 /go.mod h1:M0yem4rwSX5lLVrkEuRRp2/NinFMD5vgJ4DlAhZcfNo =
156
156
gopkg.in/yaml.v2 v2.2.8 /go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI =
157
157
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY =
158
158
gopkg.in/yaml.v2 v2.4.0 /go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ =
You can’t perform that action at this time.
0 commit comments