Skip to content
Browse files

Check NutFile interface too.

  • Loading branch information...
1 parent 7e587e6 commit f3462b7e126f43e198f507f0c43cbd1f11a3fb59 @AlekSi committed Feb 24, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 nut.go
View
6 nut.go
@@ -95,6 +95,12 @@ type NutFile struct {
Reader *zip.Reader
}
+// check interface
+var (
+ _ io.ReaderFrom = &NutFile{}
+ _ io.WriterTo = &NutFile{}
+)
+
// ReadFrom reads nut from r until EOF.
// The return value n is the number of bytes read.
// Any error except io.EOF encountered during the read is also returned.

0 comments on commit f3462b7

Please sign in to comment.
Something went wrong with that request. Please try again.