diff --git a/pkg/rpc/neoScanBalanceGetter.go b/pkg/rpc/neoScanBalanceGetter.go index 432a24c0e..8d9ef5181 100644 --- a/pkg/rpc/neoScanBalanceGetter.go +++ b/pkg/rpc/neoScanBalanceGetter.go @@ -8,7 +8,7 @@ import ( "github.com/CityOfZion/neo-go/pkg/core/state" "github.com/CityOfZion/neo-go/pkg/core/transaction" - "github.com/CityOfZion/neo-go/pkg/rpc/result" + "github.com/CityOfZion/neo-go/pkg/rpc/response/result" "github.com/CityOfZion/neo-go/pkg/util" errs "github.com/pkg/errors" ) diff --git a/pkg/rpc/result/account_state.go b/pkg/rpc/response/result/account_state.go similarity index 100% rename from pkg/rpc/result/account_state.go rename to pkg/rpc/response/result/account_state.go diff --git a/pkg/rpc/result/asset_state.go b/pkg/rpc/response/result/asset_state.go similarity index 100% rename from pkg/rpc/result/asset_state.go rename to pkg/rpc/response/result/asset_state.go diff --git a/pkg/rpc/result/block.go b/pkg/rpc/response/result/block.go similarity index 100% rename from pkg/rpc/result/block.go rename to pkg/rpc/response/result/block.go diff --git a/pkg/rpc/result/contract_state.go b/pkg/rpc/response/result/contract_state.go similarity index 100% rename from pkg/rpc/result/contract_state.go rename to pkg/rpc/response/result/contract_state.go diff --git a/pkg/rpc/result/invoke.go b/pkg/rpc/response/result/invoke.go similarity index 100% rename from pkg/rpc/result/invoke.go rename to pkg/rpc/response/result/invoke.go diff --git a/pkg/rpc/result/peers.go b/pkg/rpc/response/result/peers.go similarity index 100% rename from pkg/rpc/result/peers.go rename to pkg/rpc/response/result/peers.go diff --git a/pkg/rpc/result/peers_test.go b/pkg/rpc/response/result/peers_test.go similarity index 100% rename from pkg/rpc/result/peers_test.go rename to pkg/rpc/response/result/peers_test.go diff --git a/pkg/rpc/result/tx_output.go b/pkg/rpc/response/result/tx_output.go similarity index 100% rename from pkg/rpc/result/tx_output.go rename to pkg/rpc/response/result/tx_output.go diff --git a/pkg/rpc/result/tx_raw_output.go b/pkg/rpc/response/result/tx_raw_output.go similarity index 100% rename from pkg/rpc/result/tx_raw_output.go rename to pkg/rpc/response/result/tx_raw_output.go diff --git a/pkg/rpc/result/unspents.go b/pkg/rpc/response/result/unspents.go similarity index 100% rename from pkg/rpc/result/unspents.go rename to pkg/rpc/response/result/unspents.go diff --git a/pkg/rpc/result/validate_address.go b/pkg/rpc/response/result/validate_address.go similarity index 100% rename from pkg/rpc/result/validate_address.go rename to pkg/rpc/response/result/validate_address.go diff --git a/pkg/rpc/result/version.go b/pkg/rpc/response/result/version.go similarity index 100% rename from pkg/rpc/result/version.go rename to pkg/rpc/response/result/version.go diff --git a/pkg/rpc/server.go b/pkg/rpc/server.go index 4a098a535..f0080fa27 100644 --- a/pkg/rpc/server.go +++ b/pkg/rpc/server.go @@ -14,7 +14,7 @@ import ( "github.com/CityOfZion/neo-go/pkg/encoding/address" "github.com/CityOfZion/neo-go/pkg/io" "github.com/CityOfZion/neo-go/pkg/network" - "github.com/CityOfZion/neo-go/pkg/rpc/result" + "github.com/CityOfZion/neo-go/pkg/rpc/response/result" "github.com/CityOfZion/neo-go/pkg/util" "github.com/pkg/errors" "go.uber.org/zap" diff --git a/pkg/rpc/server_helper_test.go b/pkg/rpc/server_helper_test.go index ef4035efd..1e1ae64f6 100644 --- a/pkg/rpc/server_helper_test.go +++ b/pkg/rpc/server_helper_test.go @@ -11,7 +11,7 @@ import ( "github.com/CityOfZion/neo-go/pkg/core/storage" "github.com/CityOfZion/neo-go/pkg/io" "github.com/CityOfZion/neo-go/pkg/network" - "github.com/CityOfZion/neo-go/pkg/rpc/result" + "github.com/CityOfZion/neo-go/pkg/rpc/response/result" "github.com/CityOfZion/neo-go/pkg/util" "github.com/stretchr/testify/require" "go.uber.org/zap/zaptest" diff --git a/pkg/rpc/server_test.go b/pkg/rpc/server_test.go index 5720299ea..6d47f08dd 100644 --- a/pkg/rpc/server_test.go +++ b/pkg/rpc/server_test.go @@ -14,7 +14,7 @@ import ( "github.com/CityOfZion/neo-go/pkg/core" "github.com/CityOfZion/neo-go/pkg/core/transaction" - "github.com/CityOfZion/neo-go/pkg/rpc/result" + "github.com/CityOfZion/neo-go/pkg/rpc/response/result" "github.com/CityOfZion/neo-go/pkg/util" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/pkg/rpc/types.go b/pkg/rpc/types.go index 3284bf873..3c02b2018 100644 --- a/pkg/rpc/types.go +++ b/pkg/rpc/types.go @@ -2,7 +2,7 @@ package rpc import ( "github.com/CityOfZion/neo-go/pkg/core/transaction" - "github.com/CityOfZion/neo-go/pkg/rpc/result" + "github.com/CityOfZion/neo-go/pkg/rpc/response/result" "github.com/CityOfZion/neo-go/pkg/vm" )