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

Method getGroupdata

plugin/cybercat/catdata.go:296–307  ·  view source on GitHub ↗
(gid string)

Source from the content-addressed store, hash-verified

294}
295
296func (sql *catdb) getGroupdata(gid string) (list []catInfo, err error) {
297 sql.RLock()
298 defer sql.RUnlock()
299 info := catInfo{}
300 err = sql.FindFor(gid, &info, "order by Weight DESC", func() error {
301 if info.Name != "" {
302 list = append(list, info)
303 }
304 return nil
305 })
306 return
307}

Callers 1

initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected