MCPcopy Index your code
hub / github.com/gotify/server / GormDatabase

Struct GormDatabase

database/database.go:144–146  ·  view source on GitHub ↗

GormDatabase is a wrapper for the gorm framework.

Source from the content-addressed store, hash-verified

142
143// GormDatabase is a wrapper for the gorm framework.
144type GormDatabase struct {
145 DB *gorm.DB
146}
147
148// Close closes the gorm database connection.
149func (d *GormDatabase) Close() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected