I like to replace one or more characters to one character e.g. to sanitize proper slug title with a dash.
On Monday, 4 May 2020 14:24:26 UTC+8, Tamás Gulácsi wrote: > > You just want to remove those characters? Use strings.Map. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/8b9a6340-7d47-44bf-b3e5-09bec4239384%40googlegroups.com.