mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
added v2 notation
This commit is contained in:
parent
c0a3b7a781
commit
0d189a47a2
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ type translateStore struct {
|
|||
// NewTranslateStore returns a new instance of TranslateStore based on node.
|
||||
// DEPRECATED: Providing a string url to this function is being deprecated. Instead,
|
||||
// provide a *pilosa.Node.
|
||||
// TODO (2.0) Refactor to avoid panic
|
||||
func NewTranslateStore(node interface{}) pilosa.TranslateStore {
|
||||
var n *pilosa.Node
|
||||
switch v := node.(type) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue