ai_scheduler/tmp_show_damage.go

22 lines
432 B
Go

//go:build ignore
package main
import (
"fmt"
"os"
"strings"
)
func main() {
f := "internal/biz/advice_wx.go"
b, _ := os.ReadFile(f)
lines := strings.Split(string(b), "\n")
fmt.Printf("Total lines: %d\n", len(lines))
// Show the area around the project info fix (L460-520)
for i := 455; i < 520 && i < len(lines); i++ {
visible := strings.ReplaceAll(lines[i], "\t", "→")
fmt.Printf("L%d: %s\n", i+1, visible)
}
}