New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XDG config #100
XDG config #100
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making this PR!
To fully close #97, could you parse all the XDG variables this way? So replace xdg_cache
with checking for basedir.CacheHome
, and xdg_data
with checking for basedir.DataHome
. Thanks! See my other comments below.
config/config.go
Outdated
@@ -10,6 +10,8 @@ import ( | |||
"runtime" | |||
"strings" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes a go fmt error. Make sure to run go fmt ./...
on your code!
Co-authored-by: makeworld <25111343+makeworld-the-better-one@users.noreply.github.com>
Co-authored-by: makeworld <25111343+makeworld-the-better-one@users.noreply.github.com>
Thanks, this looks good! Congrats on being #100 :) |
This will close #97.