(name, typ string)
| 29 | } |
| 30 | |
| 31 | func registerQuadStore(name, typ string) { |
| 32 | graph.RegisterQuadStore(name, graph.QuadStoreRegistration{ |
| 33 | NewFunc: func(addr string, options graph.Options) (graph.QuadStore, error) { |
| 34 | return New(typ, addr, options) |
| 35 | }, |
| 36 | UpgradeFunc: nil, |
| 37 | InitFunc: func(addr string, options graph.Options) error { |
| 38 | return Init(typ, addr, options) |
| 39 | }, |
| 40 | IsPersistent: true, |
| 41 | }) |
| 42 | } |
| 43 | |
| 44 | var _ Value = StringVal("") |
| 45 |
no test coverage detected