...

Source file src/github.com/aws/smithy-go/io/reader.go

Documentation: github.com/aws/smithy-go/io

     1  package io
     2  
     3  import (
     4  	"io"
     5  )
     6  
     7  // ReadSeekNopCloser wraps an io.ReadSeeker with an additional Close method
     8  // that does nothing.
     9  type ReadSeekNopCloser struct {
    10  	io.ReadSeeker
    11  }
    12  
    13  // Close does nothing.
    14  func (ReadSeekNopCloser) Close() error {
    15  	return nil
    16  }
    17  

View as plain text