MCPcopy Create free account
hub / github.com/FloatTech/ZeroBot-Plugin-Playground / get

Method get

plugin/qqci/model.go:68–72  ·  view source on GitHub ↗
(app *application)

Source from the content-addressed store, hash-verified

66}
67
68func (adb *appdb) get(app *application) (res application, err error) {
69 db := (*gorm.DB)(adb)
70 err = db.Model(&application{}).First(&res, "appname = ?", app.Appname).Error
71 return
72}
73
74func (adb *appdb) getApp(app *application) (a application, err error) {
75 db := (*gorm.DB)(adb)

Callers 1

initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected