This commit is contained in:
2025-02-19 09:46:41 +03:00
parent 24eb709293
commit ff45beac09
8 changed files with 25 additions and 29 deletions

View File

@@ -1,4 +1,4 @@
module texttools
module texttools
pub fn snake_case(s string) string {
return separate_words(s).join('_')
@@ -35,4 +35,4 @@ fn separate_words(s string) []string {
words << word.to_lower()
}
return words
}
}