1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package packr import ( "io" "os" ) type File interface { io.ReadCloser io.Writer FileInfo() (os.FileInfo, error) Readdir(count int) ([]os.FileInfo, error) Seek(offset int64, whence int) (int64, error) Stat() (os.FileInfo, error) }