This repository has been archived by the owner on Jun 25, 2022. It is now read-only.
Accessing files away from service directory #182
Labels
environmental
The problem is with the OP's environment (GOPATH, etc...)
help wanted
Extra attention is needed
I've found one rather strange thing - when trying to open a file from outside of the directory served,... it works! Even after
packr2 build
andmv
to another directory program tries to find and open files by related path. The same time,http.Dir
just throws an error at the same place. So I've considered such a behaviour as a bug (correct me if I'm wrong). Example program:and it's output:
The text was updated successfully, but these errors were encountered: