Documentation ¶
Index ¶
- func Addslashes(str string) string
- func DefaultValue(value interface{}) string
- func Express(content string) fmt.Stringer
- func QuoteIdent(s, quote string) string
- func QuoteIdents(idents []string, quoteIdent func(s string) string) string
- func QuoteInterfaces(values ...interface{}) string
- func QuoteStrings(values ...string) string
- func StringsUnique(items []string) []string
- func Stripslashes(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Addslashes ¶
addslashes() 函数返回在预定义字符之前添加反斜杠的字符串。 预定义字符是: 单引号(') 双引号(") 反斜杠(\)
func QuoteIdent ¶
func QuoteInterfaces ¶
func QuoteInterfaces(values ...interface{}) string
func QuoteStrings ¶
func Stripslashes ¶
stripslashes() 函数删除由 addslashes() 函数添加的反斜杠。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.