Skip to content

Update to 1.24 and use build-in version of tools command#3

Merged
cholick merged 1 commit intomainfrom
go-1.24-update
Feb 18, 2025
Merged

Update to 1.24 and use build-in version of tools command#3
cholick merged 1 commit intomainfrom
go-1.24-update

Conversation

@cholick
Copy link
Owner

@cholick cholick commented Feb 18, 2025

No description provided.

@cholick cholick requested a review from Copilot February 18, 2025 16:25
Copy link

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.

PR Overview

This PR updates the project to Go 1.24 by switching to the built-in version of the counterfeiter tool and removing the now-unnecessary tools.go file.

  • Updated the go:generate commands in pkg/midi/opener.go and pkg/midi/out.go to use "go tool counterfeiter".
  • Removed tools.go since Go 1.24 now supports the tools pattern officially.

Changes

File Description
pkg/midi/opener.go Updated counterfeiter command to use the built-in tool from Go 1.24.
pkg/midi/out.go Updated counterfeiter command to use the built-in tool from Go 1.24.
tools.go Removed since the built-in tools support in Go 1.24 makes it redundant.

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more

@cholick cholick merged commit 5767145 into main Feb 18, 2025
2 checks passed
@cholick cholick deleted the go-1.24-update branch February 18, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant