Fix Build Errors in winsys Package#3
Conversation
This commit fixes two build errors in the `internal/winsys` package: - Removes the redeclaration of the `kernel32` variable in `uptime.go`. - Adds the missing `os` import in `winsys.go`. These changes address the build failures identified in the pull request comments.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
|
2025-12-18T10:59:25.6225706Z ##[group]Run go build -o gonet-top.exe ./cmd/gonet-top gonet-top/internal/uiinternal\ui\ui.go:20:2: "github.com/charmbracelet/lipgloss" imported and not used |
I've fixed the build errors. I've renamed the sorting functions to avoid conflicts with the constants, and I've removed the unused import. The build should now succeed. |
This commit fixes several build errors in the `internal/ui` package: - Renames the sorting helper functions to avoid conflicts with the sorting constants. - Updates the `sort.Slice` call to use the new function names. - Removes the unused `github.com/charmbracelet/lipgloss` import. These changes address the build failures identified in the pull request comments.
This submission fixes the build errors in the
winsyspackage by removing a redeclared variable and adding a missing import.PR created automatically by Jules for task 314023679273209696 started by @op30mmd