Versions in this module Expand all Collapse all v0 v0.1.0 Nov 16, 2020 Changes in this version + type SplitFileWriter struct + CurrentBuf *bufio.Writer + CurrentFile *os.File + CurrentInc int + FileFlag int + FilePerm os.FileMode + FullFileCallback func(*SplitFileWriter) error + MaxWrites int + NamePrefix string + NameSuffix string + WriteCount int + func Create(namePrefix, nameSuffix string, maxWrites int) (*SplitFileWriter, error) + func New(namePrefix, nameSuffix string, currentInc, maxWrites, fileFlag int, ...) (*SplitFileWriter, error) + func Open(namePrefix, nameSuffix string, maxWrites, fileFlag int, filePerm os.FileMode) (*SplitFileWriter, error) + func (s *SplitFileWriter) Buffered() int + func (s *SplitFileWriter) CurrentFileName() string + func (s *SplitFileWriter) Flush() error + func (s *SplitFileWriter) NextFileName() string + func (s *SplitFileWriter) PrevFileName() string + func (s *SplitFileWriter) ReadFrom(r io.Reader) (int64, error) + func (s *SplitFileWriter) Write(p []byte) (int, error) + func (s *SplitFileWriter) WriteByte(c byte) error + func (s *SplitFileWriter) WriteRune(r rune) (int, error) + func (s *SplitFileWriter) WriteString(st string) (int, error)