kirsle / configdir

A cross-platform Go library to get configuration and cache directories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is this a fork?

anderspitman opened this issue · comments

Hey, no this isn't a fork of that module but an independent project. That module seems to have additional functionality over my version.

I didn't see that one when I started mine; one module that I did find back then (I forgot the name of it) was opinionated and did too much stuff (duplicated os functionality to mkdir, create/open file, etc.) when all I wanted was a no-nonsense lookup of the directory paths and I can do that extra stuff in my own app, so I wrote my configdir module.

Cooleo. It just looked really similar at first glance. Thanks for the project. I ended up rolling my own so I could have it in a single file, but copying your code helped me get going a lot faster 👍