package utils

import (
	"bytes"
)

// ClosingBuffer implement Closer interface for Buffer
type ClosingBuffer struct {
	*bytes.Buffer
}

// Close implement Closer interface for Buffer
func (ClosingBuffer) Close() error {
	return nil
}

package utils

import "io"

// ClosingReadSeeker implement Closer interface for ReadSeeker
type ClosingReadSeeker struct {
	io.ReadSeeker
}

// Close implement Closer interface for Buffer
func (ClosingReadSeeker) Close() error {
	return nil
}

Apply Close method for ReadSeeker
Apply Close method for ReadSeeker
