Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
bst: remove interface dep
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
  • Loading branch information
rustatian committed Jul 18, 2022
1 parent 482aa03 commit bbb3ce3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bst/bst.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package bst

import (
"github.com/roadrunner-server/api/v2/bst"
)

// BST ...
type BST struct {
// registered topic, not unique
Expand All @@ -16,7 +12,7 @@ type BST struct {
right *BST
}

func NewBST() bst.Storage {
func NewBST() *BST {
return &BST{
uuids: make(map[string]struct{}, 10),
}
Expand Down

0 comments on commit bbb3ce3

Please sign in to comment.