NewWriter in Go

Posted by GoDoc
Public (Editable by Users)

NewWriter returns a new Writer that writes to w.

Go
Edit
package main

import (
	"mime/quotedprintable"
	"os"
)

func main() {
	w := quotedprintable.NewWriter(os.Stdout)
	w.Write([]byte("These symbols will be escaped: = \t"))
	w.Close()
}