mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-08 12:56:20 +08:00
9 lines
179 B
Go
9 lines
179 B
Go
// Copyright (c) 2017 Gorillalabs. All rights reserved.
|
|
|
|
package utils
|
|
|
|
import "strings"
|
|
|
|
func QuoteArg(s string) string {
|
|
return "'" + strings.Replace(s, "'", "\"", -1) + "'"
|
|
}
|