Description

Reset discards the Writer z's state and makes it equivalent to the result of its original state from NewWriter or NewWriterLevel, but writing to w instead. This permits reusing a Writer rather than allocating a new one.

Reset is referenced in 47 repositories

github.com/golang/go github.com/emicklei/go-restful github.com/roamerlv/wgo

...