Always use absolute paths. Change them via a config file or environmental variables - e.g. os.Getenv("ASSET_DIR")
- where ASSET_DIR
is set to /Users/you/code/project/assets/
and not just ./assets/
.
Relative paths to assets, configuration, etc. are a trap