WIP: Refactor parse
This commit is contained in:
Vendored
+1
-1
@@ -25,7 +25,7 @@ func NewSchemaCache(tables []*schema.Table) *SchemaCache {
|
||||
func (o *SchemaCache) add(table *schema.Table) {
|
||||
o.mu.Lock()
|
||||
defer o.mu.Unlock()
|
||||
o.data[table.Type.Name()] = table
|
||||
o.data[table.Type().Name()] = table
|
||||
}
|
||||
|
||||
func (o *SchemaCache) Get(typeName string) (*schema.Table, bool) {
|
||||
|
||||
Reference in New Issue
Block a user