MCPcopy Create free account
hub / github.com/cloudwan/gohan / initDB

Method initDB

server/server.go:157–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155}
156
157func (server *Server) initDB() error {
158 return db.InitDBWithSchemas(server.getDatabaseConfig())
159}
160
161func (server *Server) connectDB() error {
162 if err := migration.Init(); err != nil {

Callers 2

NewServerFunction · 0.95
setupEditorFunction · 0.80

Calls 1

getDatabaseConfigMethod · 0.95

Tested by

no test coverage detected