This commit is contained in:
2026-10-03 13:07:50 +07:00
parent 7a7808b4d1
commit 3aeaa09ea8
14 changed files with 98 additions and 28 deletions
+1
View File
@@ -1,6 +1,7 @@
// Package cleaner normalizes user-provided text and codes.
package cleaner
// ICleaner cleans user-provided text and codes.
type ICleaner interface {
ClearCode(code string) string
ClearText(text string) string
+1
View File
@@ -26,6 +26,7 @@ var (
type service struct{}
// NewCleaner creates a text cleaner.
func NewCleaner() ICleaner {
return &service{}
}