forked from mirror/pkger
fix stat example
This commit is contained in:
parent
9473092e41
commit
3cbd07f98b
|
@ -14,7 +14,7 @@ func main() {
|
|||
}
|
||||
|
||||
func run() error {
|
||||
info, err := pkger.Stat("/go.mod")
|
||||
info, err := pkger.Stat("/public/index.html")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ func main() {
|
|||
}
|
||||
|
||||
func run() error {
|
||||
info, err := os.Stat("./go.mod")
|
||||
info, err := os.Stat("./public/index.html")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue