feat: update news

This commit is contained in:
ericprd
2025-03-06 23:55:46 +08:00
parent 2046021e01
commit e3a9b67e28
17 changed files with 249 additions and 21 deletions
@@ -0,0 +1,7 @@
package utils
import "strings"
func TitleToSlug(title string) string {
return strings.ToLower(strings.ReplaceAll(title, " ", "-"))
}