Commit Graph

12 Commits

Author SHA1 Message Date
64eaceb0ef add Slugify for making URL-safe slugs out of text
Slugify lowercases text and keeps only ASCII letters and digits, turning every
run of other characters into a single hyphen with none left at either end.
Comes with a doc comment and table-driven tests. (closes #9)

Model: opus-5
2026-09-05 03:27:04 +00:00
9302c14a6c add function +func IsValidURL(url string) bool { 2024-06-01 15:37:51 -07:00
b9756ed8c4 rename package to util 2024-06-01 22:35:57 +00:00
2b1f2e9be3 rename package to util 2024-06-01 22:35:40 +00:00
bef8d77768 rename module path 2024-05-22 21:46:43 +00:00
e36581f205 now actually works right 2020-09-21 17:18:04 -07:00
f1397c40b1 adds time functions from unix micros/millis 2020-09-21 16:37:01 -07:00
b1f0eb2769 Merge branch 'master' of git.eeqj.de:sneak/goutil 2020-09-21 14:53:43 -07:00
5d77a9a3d3 add file copy function 2020-09-21 14:53:35 -07:00
3239644cc2 fixes bug that returns wrong error in Mkdirp() 2020-09-20 22:34:22 +00:00
cdefc88d8f bust cache 2020-03-30 15:57:16 -07:00
7fad5dc142 initial 2020-03-30 15:49:56 -07:00