Skip to content

updating gofrs/uuid package#79

Merged
Farokhcpu merged 2 commits intomainfrom
updating-gofrs-uuid
Apr 28, 2026
Merged

updating gofrs/uuid package#79
Farokhcpu merged 2 commits intomainfrom
updating-gofrs-uuid

Conversation

@Farokhcpu
Copy link
Copy Markdown
Contributor

No description provided.

@Farokhcpu Farokhcpu added the dependencies Pull requests that update a dependency file label Apr 28, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository to use the v5 major module path of github.com/gofrs/uuid, and adjusts CI to run with a newer Go toolchain.

Changes:

  • Switch gofrs/uuid dependency from v4 (+incompatible) to github.com/gofrs/uuid/v5 v5.4.0 in go.mod/go.sum.
  • Update the uuid import path in the SQL test fixture to /v5.
  • Bump GitHub Actions Go version from 1.25 to 1.26.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
sqltest/fixture.go Updates import path to github.com/gofrs/uuid/v5.
go.mod Moves dependency to github.com/gofrs/uuid/v5 v5.4.0.
go.sum Updates checksums to match the new uuid v5 module.
.github/workflows/go.yml Bumps CI Go toolchain version to 1.26.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sqltest/fixture.go
Comment on lines 4 to 10
"context"
"database/sql"
"fmt"
"github.com/gofrs/uuid"
"github.com/gofrs/uuid/v5"
mssql "github.com/microsoft/go-mssqldb"
"github.com/microsoft/go-mssqldb/msdsn"
"io/ioutil"
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import block is no longer gofmt-sorted/grouped (stdlib and third-party imports are interleaved). Please run gofmt on this file so imports are grouped and ordered consistently; this reduces merge churn and avoids style diffs later.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/go.yml
uses: actions/setup-go@v6
with:
go-version: '1.25'
go-version: '1.26'
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is now pinned to Go 1.26 while go.mod declares Go 1.25.7. If the project intends to support/build with the version in go.mod, consider using go-version-file: go.mod (or setting go-version to 1.25.x) so CI matches the module's declared minimum and avoids accidental version skew.

Suggested change
go-version: '1.26'
go-version-file: go.mod

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/go.yml
uses: actions/setup-go@v6
with:
go-version: '1.25'
go-version: '1.26'
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title suggests this change is only about updating gofrs/uuid, but this workflow also bumps the Go toolchain version. If that upgrade is intentional, it would be clearer to mention it in the PR description/title; otherwise consider reverting the Go version change to keep the PR focused.

Copilot uses AI. Check for mistakes.
@Farokhcpu Farokhcpu merged commit 93857e9 into main Apr 28, 2026
5 checks passed
@Farokhcpu Farokhcpu deleted the updating-gofrs-uuid branch April 28, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants