diff --git a/api/strategies.go b/api/strategies.go index 23bcc18d..19ae0883 100644 --- a/api/strategies.go +++ b/api/strategies.go @@ -9,9 +9,9 @@ import ( "strconv" "github.com/ethereum/go-ethereum/common" - "github.com/vocdoni/census3/api/strategyoperators" queries "github.com/vocdoni/census3/db/sqlc" "github.com/vocdoni/census3/lexer" + "github.com/vocdoni/census3/strategyoperators" "go.vocdoni.io/dvote/httprouter" api "go.vocdoni.io/dvote/httprouter/apirest" "go.vocdoni.io/dvote/log" diff --git a/census/helpers.go b/census/helpers.go index d00d6b98..73b0c55c 100644 --- a/census/helpers.go +++ b/census/helpers.go @@ -7,10 +7,10 @@ import ( "math/big" "github.com/ethereum/go-ethereum/common" - "github.com/vocdoni/census3/api/strategyoperators" queries "github.com/vocdoni/census3/db/sqlc" "github.com/vocdoni/census3/lexer" "github.com/vocdoni/census3/state" + "github.com/vocdoni/census3/strategyoperators" ) // CalculateStrategyHolders function returns the holders of a strategy and the diff --git a/api/strategyoperators/combinators.go b/strategyoperators/combinators.go similarity index 100% rename from api/strategyoperators/combinators.go rename to strategyoperators/combinators.go diff --git a/api/strategyoperators/combinators_test.go b/strategyoperators/combinators_test.go similarity index 100% rename from api/strategyoperators/combinators_test.go rename to strategyoperators/combinators_test.go diff --git a/api/strategyoperators/operators.go b/strategyoperators/operators.go similarity index 100% rename from api/strategyoperators/operators.go rename to strategyoperators/operators.go diff --git a/api/strategyoperators/operators_test.go b/strategyoperators/operators_test.go similarity index 100% rename from api/strategyoperators/operators_test.go rename to strategyoperators/operators_test.go diff --git a/api/strategyoperators/strategyoperators.go b/strategyoperators/strategyoperators.go similarity index 100% rename from api/strategyoperators/strategyoperators.go rename to strategyoperators/strategyoperators.go diff --git a/api/strategyoperators/strategyoperators_test.go b/strategyoperators/strategyoperators_test.go similarity index 100% rename from api/strategyoperators/strategyoperators_test.go rename to strategyoperators/strategyoperators_test.go