feat: update news
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package utils
|
||||
|
||||
import "strings"
|
||||
|
||||
func TitleToSlug(title string) string {
|
||||
return strings.ToLower(strings.ReplaceAll(title, " ", "-"))
|
||||
}
|
||||
Reference in New Issue
Block a user