(gj *core.GraphJin)
| 89 | } |
| 90 | |
| 91 | func newGraphJinObj(gj *core.GraphJin) map[string]interface{} { |
| 92 | return map[string]interface{}{ |
| 93 | "query": query(gj), |
| 94 | "subscribe": subscribe(gj), |
| 95 | "queryByName": queryByName(gj), |
| 96 | "subscribeByName": subscribeByName(gj), |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | func newGraphJin(config *core.Config, db *sql.DB, fs core.FS) (gj *core.GraphJin, err error) { |
| 101 | return core.NewGraphJinWithFS(config, db, fs) |
no test coverage detected