Change: use bbolt as cache db

This commit is contained in:
Dreamacro
2021-10-04 19:20:11 +08:00
parent ced9749104
commit 537b672fcf
4 changed files with 83 additions and 46 deletions

View File

@ -55,6 +55,10 @@ func (p *path) MMDB() string {
return P.Join(p.homeDir, "Country.mmdb")
}
func (p *path) Cache() string {
func (p *path) OldCache() string {
return P.Join(p.homeDir, ".cache")
}
func (p *path) Cache() string {
return P.Join(p.homeDir, "cache.db")
}