(ns uint64)
| 68 | } |
| 69 | |
| 70 | func (gs *GQLSchemaStore) GetCurrent(ns uint64) (*GqlSchema, bool) { |
| 71 | gs.mux.RLock() |
| 72 | defer gs.mux.RUnlock() |
| 73 | sch, ok := gs.schema[ns] |
| 74 | return sch, ok |
| 75 | } |
| 76 | |
| 77 | func (gs *GQLSchemaStore) resetGQLSchema() { |
| 78 | gs.mux.Lock() |
no test coverage detected