mirror of
https://github.com/nabbar/golib.git
synced 2025-12-24 11:51:02 +08:00
- refactor package to allow closer for bytes.Buffer, bufio.Reader, bufio.Writer, bufio.ReadWriter - implement ReadFrom, WriterTo, StringWriter, ReadRune, ReadByte, WriteByte - allow specify a custom close function, called in close statement - add NewBuffer (New declare as deprecated), NewReader, NewWriter, NewReadWriter to each types bytes / bufio - remove call of Reset in close for ReadWriter: ambigous function (ambigous in bufio struct) Package Static: - replace BufferReadCloser New function to NewBuffer Other: - bump dependencies