Files
2023-04-05 09:03:46 +02:00
..
2022-10-19 09:00:25 -07:00
2020-11-16 15:17:45 -06:00
2023-02-26 21:14:35 +01:00
2020-11-16 10:47:59 -06:00
2021-12-23 20:18:37 -06:00
2021-12-21 17:11:44 -06:00

DB

GORM-based database interactions.

Contents:

  • gosqlite/ - A fork of the GORM sqlite driver that uses a pure go sqlite3 implementation. This can be compiled using the Go build tag gosqlite
  • models/ - The database/GORM models
  • db.go - Primary abstraction for client and db sessions
  • helpers.go - Helper functions for querying the GORM models
  • logger.go - Database logger
  • sql_cgo.go - The CGO sqlite client
  • sql_go.go - The pure Go sqlite client
  • sql.go - Database setup and configuration