()
| 36 | ) |
| 37 | |
| 38 | func WithDatasource() nodes.Option { |
| 39 | return func(options *nodes.RouterOptions) { |
| 40 | options.Wrappers = append(options.Wrappers, newDataSourceHandler()) |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func newDataSourceHandler() *DataSourceHandler { |
| 45 | bt := &DataSourceHandler{} |
no test coverage detected
searching dependent graphs…