Skip to content

Instantly share code, notes, and snippets.

@Ferada
Created July 11, 2018 15:34
Show Gist options
  • Save Ferada/d3cb772b571c5260f77a9784b2bd9c2f to your computer and use it in GitHub Desktop.
Save Ferada/d3cb772b571c5260f77a9784b2bd9c2f to your computer and use it in GitHub Desktop.
// ReadSeekerCloser combines a ReadSeeker with a Closer. Brilliant, isn't it.
type ReadSeekerCloser interface {
io.ReadSeeker
io.Closer
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment