11 lines
161 B
Go
11 lines
161 B
Go
|
package htmlescape
|
||
|
|
||
|
func String(str string) string {
|
||
|
var buffer [bufferSize]byte
|
||
|
var p []byte = buffer[0:9]
|
||
|
|
||
|
p, _ = AppendString(p, str)
|
||
|
|
||
|
return string(p)
|
||
|
}
|