Files
kandev/apps/backend/internal/task/models/plan.go
T
2026-09-02 08:47:16 +00:00

9 lines
206 B
Go

package models
import "unicode/utf8"
// PlanContentLength returns the Unicode code point count used by plan history.
func PlanContentLength(content string) int {
return utf8.RuneCountInString(content)
}