phoneof/utils/quote_str.go

8 lines
107 B
Go
Raw Normal View History

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