Files
MrAle98-sliver/server/db
2023-04-13 10:43:40 -07:00
..
2023-04-13 10:43:40 -07:00
2020-11-16 15:17:45 -06:00
2022-10-30 16:56:44 -07:00
2020-11-16 10:47:59 -06:00
2021-12-23 20:18:37 -06:00
2023-04-09 10:30:23 -07:00
2023-01-26 20:35:42 -07: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