infinitime/blefs/iofs.go
2022-08-29 14:43:16 -07:00

16 lines
196 B
Go

package blefs
import "io/fs"
type goFS struct {
*FS
}
func (iofs goFS) Open(path string) (fs.File, error) {
return iofs.FS.Open(path)
}
func (blefs *FS) GoFS() fs.FS {
return goFS{blefs}
}