package utils import ( "net/http" "os" "path" ) type RealFS struct { Path string } func (fs RealFS) Open(filename string) (http.File, error) { return os.Open(path.Join(fs.Path, filename)) }