diff --git a/client/client.go b/client/client.go index b6a21b1..5923173 100644 --- a/client/client.go +++ b/client/client.go @@ -8,8 +8,8 @@ import ( "path/filepath" "time" - "github.com/depool/dc4bc/qr" - "github.com/depool/dc4bc/storage" + "github.com/depools/dc4bc/qr" + "github.com/depools/dc4bc/storage" ) const ( diff --git a/client/client_test.go b/client/client_test.go index 3703941..d539894 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -9,12 +9,12 @@ import ( "testing" "time" - "github.com/depool/dc4bc/mocks/qrMocks" + "github.com/depools/dc4bc/mocks/qrMocks" - "github.com/depool/dc4bc/client" + "github.com/depools/dc4bc/client" - "github.com/depool/dc4bc/mocks/clientMocks" - "github.com/depool/dc4bc/mocks/storageMocks" + "github.com/depools/dc4bc/mocks/clientMocks" + "github.com/depools/dc4bc/mocks/storageMocks" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" ) diff --git a/client/http_server.go b/client/http_server.go index 486edd0..8170d28 100644 --- a/client/http_server.go +++ b/client/http_server.go @@ -3,12 +3,13 @@ package client import ( "encoding/json" "fmt" - "github.com/depool/dc4bc/qr" - "github.com/depool/dc4bc/storage" "image" "io/ioutil" "log" "net/http" + + "github.com/depools/dc4bc/qr" + "github.com/depools/dc4bc/storage" ) func errorResponse(w http.ResponseWriter, statusCode int, err string) { diff --git a/client/state_test.go b/client/state_test.go index c62ea2f..018752e 100644 --- a/client/state_test.go +++ b/client/state_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/depool/dc4bc/client" + "github.com/depools/dc4bc/client" "github.com/stretchr/testify/require" ) diff --git a/fsm/cmd/test/test.go b/fsm/cmd/test/test.go index 3824b02..42fa7ba 100644 --- a/fsm/cmd/test/test.go +++ b/fsm/cmd/test/test.go @@ -1,9 +1,10 @@ package main import ( - "github.com/depool/dc4bc/fsm/state_machines" - "github.com/depool/dc4bc/fsm/types/requests" "log" + + "github.com/depools/dc4bc/fsm/state_machines" + "github.com/depools/dc4bc/fsm/types/requests" ) func main() { diff --git a/fsm/fsm_pool/fsm_pool.go b/fsm/fsm_pool/fsm_pool.go index 0c43328..23f5429 100644 --- a/fsm/fsm_pool/fsm_pool.go +++ b/fsm/fsm_pool/fsm_pool.go @@ -2,7 +2,8 @@ package fsm_pool import ( "errors" - "github.com/depool/dc4bc/fsm/fsm" + + "github.com/depools/dc4bc/fsm/fsm" ) type IStateMachine interface { diff --git a/fsm/state_machines/provider.go b/fsm/state_machines/provider.go index 65d6942..2930197 100644 --- a/fsm/state_machines/provider.go +++ b/fsm/state_machines/provider.go @@ -3,11 +3,12 @@ package state_machines import ( "encoding/json" "errors" - "github.com/depool/dc4bc/fsm/fsm" - "github.com/depool/dc4bc/fsm/fsm_pool" - "github.com/depool/dc4bc/fsm/state_machines/internal" - "github.com/depool/dc4bc/fsm/state_machines/signature_construct_fsm" - "github.com/depool/dc4bc/fsm/state_machines/signature_proposal_fsm" + + "github.com/depools/dc4bc/fsm/fsm" + "github.com/depools/dc4bc/fsm/fsm_pool" + "github.com/depools/dc4bc/fsm/state_machines/internal" + "github.com/depools/dc4bc/fsm/state_machines/signature_construct_fsm" + "github.com/depools/dc4bc/fsm/state_machines/signature_proposal_fsm" ) // Is machine state scope dump will be locked? diff --git a/fsm/state_machines/signature_construct_fsm/init.go b/fsm/state_machines/signature_construct_fsm/init.go index 8b5fe15..1ab2f94 100644 --- a/fsm/state_machines/signature_construct_fsm/init.go +++ b/fsm/state_machines/signature_construct_fsm/init.go @@ -1,8 +1,8 @@ package signature_construct_fsm import ( - "github.com/depool/dc4bc/fsm/fsm" - "github.com/depool/dc4bc/fsm/fsm_pool" + "github.com/depools/dc4bc/fsm/fsm" + "github.com/depools/dc4bc/fsm/fsm_pool" ) const ( diff --git a/fsm/state_machines/signature_proposal_fsm/actions.go b/fsm/state_machines/signature_proposal_fsm/actions.go index ce28ee7..81516c8 100644 --- a/fsm/state_machines/signature_proposal_fsm/actions.go +++ b/fsm/state_machines/signature_proposal_fsm/actions.go @@ -2,10 +2,11 @@ package signature_proposal_fsm import ( "errors" - "github.com/depool/dc4bc/fsm/state_machines/internal" - "github.com/depool/dc4bc/fsm/types/requests" - "github.com/depool/dc4bc/fsm/types/responses" "log" + + "github.com/depools/dc4bc/fsm/state_machines/internal" + "github.com/depools/dc4bc/fsm/types/requests" + "github.com/depools/dc4bc/fsm/types/responses" ) // init -> awaitingConfirmations diff --git a/fsm/state_machines/signature_proposal_fsm/helpers.go b/fsm/state_machines/signature_proposal_fsm/helpers.go index 81588a6..4954b81 100644 --- a/fsm/state_machines/signature_proposal_fsm/helpers.go +++ b/fsm/state_machines/signature_proposal_fsm/helpers.go @@ -3,9 +3,10 @@ package signature_proposal_fsm import ( "crypto/sha256" "encoding/base64" - "github.com/depool/dc4bc/fsm/state_machines/internal" - "github.com/depool/dc4bc/fsm/types/responses" "math/rand" + + "github.com/depools/dc4bc/fsm/state_machines/internal" + "github.com/depools/dc4bc/fsm/types/responses" ) // Request and response mutators diff --git a/fsm/state_machines/signature_proposal_fsm/init.go b/fsm/state_machines/signature_proposal_fsm/init.go index c62229b..f9eed50 100644 --- a/fsm/state_machines/signature_proposal_fsm/init.go +++ b/fsm/state_machines/signature_proposal_fsm/init.go @@ -1,8 +1,8 @@ package signature_proposal_fsm import ( - "github.com/depool/dc4bc/fsm/fsm" - "github.com/depool/dc4bc/fsm/fsm_pool" + "github.com/depools/dc4bc/fsm/fsm" + "github.com/depools/dc4bc/fsm/fsm_pool" ) const ( diff --git a/fsm/types/requests/signature_proposal.go b/fsm/types/requests/signature_proposal.go index ada2a97..c6a5b10 100644 --- a/fsm/types/requests/signature_proposal.go +++ b/fsm/types/requests/signature_proposal.go @@ -2,7 +2,8 @@ package requests import ( "errors" - "github.com/depool/dc4bc/fsm/config" + + "github.com/depools/dc4bc/fsm/config" ) // Requests diff --git a/go.mod b/go.mod index 9ea0846..995da70 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/depool/dc4bc +module github.com/depools/dc4bc go 1.13 diff --git a/main.go b/main.go index 3fc879c..59634fe 100644 --- a/main.go +++ b/main.go @@ -10,7 +10,7 @@ import ( "go.dedis.ch/kyber/v3" - dkglib "github.com/depool/dc4bc/dkg" + dkglib "github.com/depools/dc4bc/dkg" _ "image/gif" _ "image/png" diff --git a/mocks/clientMocks/state_mock.go b/mocks/clientMocks/state_mock.go index 398a656..2a5c74f 100644 --- a/mocks/clientMocks/state_mock.go +++ b/mocks/clientMocks/state_mock.go @@ -5,9 +5,10 @@ package clientMocks import ( - client "github.com/depool/dc4bc/client" - gomock "github.com/golang/mock/gomock" reflect "reflect" + + client "github.com/depools/dc4bc/client" + gomock "github.com/golang/mock/gomock" ) // MockState is a mock of State interface diff --git a/mocks/storageMocks/storage_mock.go b/mocks/storageMocks/storage_mock.go index a182d06..642fae5 100644 --- a/mocks/storageMocks/storage_mock.go +++ b/mocks/storageMocks/storage_mock.go @@ -5,9 +5,10 @@ package storageMocks import ( - storage "github.com/depool/dc4bc/storage" - gomock "github.com/golang/mock/gomock" reflect "reflect" + + storage "github.com/depools/dc4bc/storage" + gomock "github.com/golang/mock/gomock" ) // MockStorage is a mock of Storage interface