NewManager creates a new sheet manager.
()
| 45 | |
| 46 | // NewManager creates a new sheet manager. |
| 47 | func NewManager() *Manager { |
| 48 | return &Manager{ |
| 49 | statementCache: lru.NewLRU[astHashKey, *StatementResult](8, nil, 3*time.Minute), |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | // StatementResult holds the cached parsing results with the unified ParsedStatement type. |
| 54 | type StatementResult struct { |
no outgoing calls