dumb/handlers/handler_test.go

14 lines
162 B
Go
Raw Permalink Normal View History

2024-05-03 14:47:57 +01:00
package handlers
import (
"io/fs"
"os"
"path"
)
type assets struct{}
func (assets) Open(p string) (fs.File, error) {
2024-05-04 13:34:19 +01:00
return os.Open(path.Join("../", p))
2024-05-03 14:47:57 +01:00
}