la5nta / wl2k-go

A Winlink framework for Go.
https://getpat.io
MIT License
50 stars 20 forks source link

Deprecate default directory methods for app and mailbox #65

Closed xylo04 closed 3 years ago

xylo04 commented 3 years ago

I'm looking at this as part of https://github.com/la5nta/pat/issues/216

At first, I thought I would add separate methods for config, data and state and only deprecate DefaultAppDir. However, recommending default directories here seems really tangential to the rest of the code.

Also, having defaults here encourages all apps built on wl2k-go to share data directories. If there were another hypothetical wl2k-go client besides Pat, would we really want them to share directory structures?