mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-14 20:24:39 +08:00
8 lines
121 B
Go
8 lines
121 B
Go
|
package msdns
|
||
|
|
||
|
import "strings"
|
||
|
|
||
|
func escapePS(s string) string {
|
||
|
return `'` + strings.Replace(s, `'`, `"`, -1) + `'`
|
||
|
}
|