mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-09 04:17:51 +00:00
Unexport NewNopInternalQueryClient
This commit is contained in:
parent
0907ee5854
commit
631ee915df
2 changed files with 3 additions and 3 deletions
|
|
@ -62,11 +62,11 @@ func (n *NopInternalQueryClient) QueryNode(ctx context.Context, uri *URI, index
|
|||
return nil, nil
|
||||
}
|
||||
|
||||
func NewNopInternalQueryClient() *NopInternalQueryClient {
|
||||
func newNopInternalQueryClient() *NopInternalQueryClient {
|
||||
return &NopInternalQueryClient{}
|
||||
}
|
||||
|
||||
var _ InternalQueryClient = NewNopInternalQueryClient()
|
||||
var _ InternalQueryClient = newNopInternalQueryClient()
|
||||
|
||||
//===============
|
||||
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ func optExecutorInternalQueryClient(c InternalQueryClient) executorOption {
|
|||
// newExecutor returns a new instance of Executor.
|
||||
func newExecutor(opts ...executorOption) *executor {
|
||||
e := &executor{
|
||||
client: NewNopInternalQueryClient(),
|
||||
client: newNopInternalQueryClient(),
|
||||
}
|
||||
for _, opt := range opts {
|
||||
err := opt(e)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue