Skip to content

Commit 766ab3f

Browse files
committed
Upgrade gofrs/uuid@v5.5.0
1 parent 49af944 commit 766ab3f

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

.github/workflows/create-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ jobs:
2121
generateReleaseNotes: true
2222
makeLatest: "legacy"
2323
name: "Version ${{ steps.version.outputs.version }}"
24+
immutableCreate: true

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ jobs:
2020
uses: actions/checkout@v6
2121
- name: Setup Go
2222
uses: actions/setup-go@v6
23+
with:
24+
go-version-file: go.mod
2325
- name: Test
2426
run: go test ./...

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module github.com/nextmn/json-api
22

3-
go 1.22
3+
go 1.25.5
44

55
require (
6-
github.com/gofrs/uuid v4.4.0+incompatible
6+
github.com/gofrs/uuid/v5 v5.4.0
77
github.com/sirupsen/logrus v1.9.3
88
)
99

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
22
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
33
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
4-
github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA=
5-
github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
4+
github.com/gofrs/uuid/v5 v5.4.0 h1:EfbpCTjqMuGyq5ZJwxqzn3Cbr2d0rUZU7v5ycAk/e/0=
5+
github.com/gofrs/uuid/v5 v5.4.0/go.mod h1:CDOjlDMVAtN56jqyRUZh58JT31Tiw7/oQyEXZV+9bD8=
66
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
77
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
88
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=

jsonapi/message_with_error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func (u *MessageWithError) UnmarshalJSON(data []byte) error {
3030
if !ok {
3131
return fmt.Errorf("Missing key `error` while unmarshaling MessageWithError")
3232
}
33-
u.Error = fmt.Errorf(e)
33+
u.Error = fmt.Errorf("%s", e)
3434
return nil
3535
}
3636

jsonapi/n4tosrv6/router_map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
package n4tosrv6
77

8-
import "github.com/gofrs/uuid"
8+
import "github.com/gofrs/uuid/v5"
99

1010
type RouterMap map[uuid.UUID]Router

jsonapi/n4tosrv6/rule_map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
package n4tosrv6
77

8-
import "github.com/gofrs/uuid"
8+
import "github.com/gofrs/uuid/v5"
99

1010
type RuleMap map[uuid.UUID]Rule

0 commit comments

Comments
 (0)