fix stat example

This commit is contained in:
Mark Bates 2019-11-01 16:22:08 -04:00
parent 9473092e41
commit 3cbd07f98b
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ func main() {
} }
func run() error { func run() error {
info, err := pkger.Stat("/go.mod") info, err := pkger.Stat("/public/index.html")
if err != nil { if err != nil {
return err return err
} }

View File

@ -13,7 +13,7 @@ func main() {
} }
func run() error { func run() error {
info, err := os.Stat("./go.mod") info, err := os.Stat("./public/index.html")
if err != nil { if err != nil {
return err return err
} }