Go implementation of the XDG Base Directory Specification and XDG user directories
Annoyingly enough, while you claim to use XDG_CONFIG_HOME, you're only using $HOME/.config which is what it defaults to but not what the user might have set. Use os.Getenv("XDG_CONFIG_HOME") or similar functions to get the directory that the user have actually set to. You could also just use this package
Generic path to Documents folder for every user?
1 project | reddit.com/r/golang | 3 Apr 2021
Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations.
1 project | reddit.com/r/golang | 18 Jun 2022
JSON/Struct to Database Schema Options
3 projects | reddit.com/r/golang | 9 Jun 2022
How to Work with an HTTP Get Return Value
3 projects | reddit.com/r/golang | 3 Jun 2022
1 project | reddit.com/r/golang | 28 May 2022