Skip to content

Commit d0edc7b

Browse files
sarg3ntclaude
andcommitted
chore: drop dead intToString from components helpers
Its only consumer (settings.templ) moved to webcore; the pages package has its own copy. Fixes the unused-func lint on PR #155. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 944d261 commit d0edc7b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • gearbox/internal/framework/templates/components

gearbox/internal/framework/templates/components/helpers.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,3 @@ func calculateCPUPercentage(loadAvg float64) float64 {
5050
return percentage
5151
}
5252

53-
// intToString converts an integer to a string.
54-
// Used by settings components for HTML attribute values.
55-
func intToString(n int) string {
56-
return fmt.Sprintf("%d", n)
57-
}

0 commit comments

Comments
 (0)