Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: upgrade go 1.25#22904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
andig merged 350 commits intomasterfromchore/go-125
Aug 14, 2025
Merged

chore: upgrade go 1.25#22904

andig merged 350 commits intomasterfromchore/go-125
Aug 14, 2025

Conversation

@andig
Copy link
Member

@andigandig commentedAug 11, 2025
edited
Loading

naltatisand others added30 commitsAugust 11, 2025 11:13
Co-authored-by: Michael Geers <michael@geers.tv>
Co-authored-by: interstart <toth.zoltan@hotmail.hu>Co-authored-by: Qian Qin <mail@qianqin.de>Co-authored-by: Ante Karamatic <ante@karamatic.hr>Co-authored-by: Žiga Deisinger <ziga@deisinger.si>Co-authored-by: Nick Galfas <nick@galfas.gr>Co-authored-by: 19atlas <o.ustuncelik@gmail.com>
Co-authored-by: Michael Geers <michael@geers.tv>Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>Co-authored-by: Michael Geers <michael@geers.tv>
Co-authored-by: Michael Geers <michael@geers.tv>
naltatisand others added15 commitsAugust 11, 2025 11:13
Co-authored-by: Sam Debruyn <sam@debruyn.dev>Co-authored-by: Максим Горпиніч <gorpinicmaksim5@gmail.com>Co-authored-by: RTTTC <94727758+RTTTC@users.noreply.github.com>Co-authored-by: aerucu <abdulkadir@erucu.de>Co-authored-by: frankb-CZ <frantisek.budinsky@gmail.com>Co-authored-by: Максим Горпиніч <gorpinicmaksim0@gmail.com>Co-authored-by: Jonas Gate <tidy.koala8317@brot.se>Co-authored-by: Patrick Nærvig Wøhlk <patrick@webbanditten.dk>
@andigandig added the infrastructureBasic functionality labelAug 11, 2025
@andigandig marked this pull request as draftAugust 11, 2025 09:50
@andigandig marked this pull request as ready for reviewAugust 14, 2025 12:30
Copy link
Contributor

@sourcery-aisourcery-aibot left a comment

Choose a reason for hiding this comment

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

Hey there - I've reviewed your changes - here's some feedback:

  • Thefor range num loops (where num is an int) won’t compile—replace with a classicfor i := 0; i < num; i++ or range over a slice.
  • When callingwg.Go inside loops, make sure to capture loop variables (e.g.i,lp) in the closure or pass them as parameters so each goroutine sees the correct value.
Prompt for AI Agents
Please address the comments from this code review:##Overall Comments- The`for range num` loops (where num is an int) won’t compile—replace with a classic`for i := 0; i < num; i++` or range over a slice.- When calling`wg.Go` inside loops, make sure to capture loop variables (e.g.`i`,`lp`) in the closure or pass them as parameters so each goroutine sees the correct value.##Individual Comments###Comment 1<location>`cmd/detect/work.go:17` </location><code_context>+func workers(log*util.Logger, num int, ips <-chan string, hits chan<-[]tasks.Result)*sync.WaitGroup { var wg sync.WaitGroup+ for range num {-wg.Add(1)-go func() {</code_context><issue_to_address>Using 'for range num' is incorrect for iterating an integer count.Replace 'for range num' with 'for i := 0; i < num; i++ {' to ensure the loop runs 'num' times and spawns the intended number of workers.</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

sourcery-ai[bot] reacted with thumbs up emojisourcery-ai[bot] reacted with thumbs down emoji
@andigandigenabled auto-merge (squash)August 14, 2025 14:19
@andigandig merged commit6f03177 intomasterAug 14, 2025
6 checks passed
@andigandig deleted the chore/go-125 branchAugust 14, 2025 14:21
thecem pushed a commit to thecem/evcc that referenced this pull requestSep 11, 2025
StarF666 pushed a commit to StarF666/evcc that referenced this pull requestOct 1, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sourcery-aisourcery-ai[bot]sourcery-ai[bot] left review comments

Assignees

No one assigned

Labels

infrastructureBasic functionality

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

39 participants

@andig@naltatis@Maschga@viper-666@juergen-weber@weblate@zoomy01@guido4096@cschlipf@VolkerK62@marcelGoerentz@premultiply@savus4@lehmanju@terrorobe@benesolar@HerrBri@docolli@uwen70@dniakamal@GrimmiMeloni@tantive@crazyfx1@erikarenhill@anbie@ReneNulschDE@mpollmeier@marq24@ross-w@mabunixda@fabian1512@gramss@StefanSchoof@thecem@RustyDust@lfloeer@ivoks@fzahn

[8]ページ先頭

©2009-2025 Movatter.jp