MCPcopy Create free account
hub / github.com/LockGit/gochat / GetDb

Function GetDb

db/db.go:44–50  ·  view source on GitHub ↗
(dbName string)

Source from the content-addressed store, hash-verified

42}
43
44func GetDb(dbName string) (db *gorm.DB) {
45 if db, ok := dbMap[dbName]; ok {
46 return db
47 } else {
48 return nil
49 }
50}
51
52type DbGoChat struct {
53}

Callers 1

user.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected