x/tools/gopls: slicesbackward modernizer 为带有空体的后向循环生成不编译的代码
作者: 0xff-dev创建于 2026年9月17日更新于 2026年9月17日
标签goplsTools
What did you do? The "slicesbackward" modernizer (go/analysis/passes/modernize) offers a fix for a backward loop whose body does not use the index, e.g. an empty body:
内容来源: golang/go