Example #1
0
func putTextprotoReader(r *textproto.Reader) {
	r.R = nil
	select {
	case textprotoReaderCache <- r:
	default:
	}
}
Example #2
0
func putTextprotoReader(r *textproto.Reader) {
	r.R = nil
	textprotoReaderPool.Put(r)
}