j178 / leetgo

Best LeetCode friend for geek. :snowboarder:
MIT License
527 stars 33 forks source link

Use zombiezen.com/go/sqlite to reimplement sqlite cache #253

Closed j178 closed 7 months ago

j178 commented 7 months ago

The current SQLite cache implementation utilizes mattn/go-sqlite3, which depends on CGO, making cross-compilation difficult. As a result, it isn't enabled in our release and defaults to a JSON-based cache.

We could consider trying out zombiezen.com/go/sqlite, it's a new SQLite binding that doesn't require CGO.