phoneof/utils/quote_str.go

8 lines
107 B
Go
Raw Normal View History

2025-01-05 18:16:26 -05:00
package utils
import "strings"
func Quote(s string) string {
return strings.Replace(s, `"`, `\"`, -1)
}