type strings.Replacer
7 uses
strings (current package)
replace.go#L14: type Replacer struct {
replace.go#L32: func NewReplacer(oldnew ...string) *Replacer {
replace.go#L36: return &Replacer{oldnew: append([]string(nil), oldnew...)}
replace.go#L39: func (r *Replacer) buildOnce() {
replace.go#L44: func (b *Replacer) build() replacer {
replace.go#L95: func (r *Replacer) Replace(s string) string {
replace.go#L101: func (r *Replacer) WriteString(w io.Writer, s string) (n int, err error) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |