From b3a53977baa3b5350e38ee96f27a051de37f694f Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Wed, 29 Sep 2021 12:32:08 +0200 Subject: changed module name, s/golang/git --- cmd/sigsum_log_go/main.go | 8 ++++---- cmd/tmp/cosign/main.go | 2 +- cmd/tmp/submit/main.go | 2 +- go.mod | 2 +- pkg/instance/endpoint_test.go | 4 ++-- pkg/instance/instance.go | 6 +++--- pkg/instance/instance_test.go | 2 +- pkg/mocks/sigsum_state_manager.go | 4 ++-- pkg/mocks/sigsum_trillian_client.go | 4 ++-- pkg/state/state_manager.go | 4 ++-- pkg/state/state_manager_test.go | 4 ++-- pkg/trillian/client.go | 2 +- pkg/trillian/client_test.go | 4 ++-- pkg/trillian/util.go | 2 +- 14 files changed, 25 insertions(+), 25 deletions(-) diff --git a/cmd/sigsum_log_go/main.go b/cmd/sigsum_log_go/main.go index 13bb54d..5af8563 100644 --- a/cmd/sigsum_log_go/main.go +++ b/cmd/sigsum_log_go/main.go @@ -21,10 +21,10 @@ import ( "github.com/prometheus/client_golang/prometheus/promhttp" "google.golang.org/grpc" - sigsum "golang.sigsum.org/sigsum-log-go/pkg/instance" - "golang.sigsum.org/sigsum-log-go/pkg/state" - trillianWrapper "golang.sigsum.org/sigsum-log-go/pkg/trillian" - "golang.sigsum.org/sigsum-log-go/pkg/types" + sigsum "git.sigsum.org/sigsum-log-go/pkg/instance" + "git.sigsum.org/sigsum-log-go/pkg/state" + trillianWrapper "git.sigsum.org/sigsum-log-go/pkg/trillian" + "git.sigsum.org/sigsum-log-go/pkg/types" ) var ( diff --git a/cmd/tmp/cosign/main.go b/cmd/tmp/cosign/main.go index 42162e4..ec51d37 100644 --- a/cmd/tmp/cosign/main.go +++ b/cmd/tmp/cosign/main.go @@ -9,7 +9,7 @@ import ( "log" "net/http" - "golang.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/types" ) var ( diff --git a/cmd/tmp/submit/main.go b/cmd/tmp/submit/main.go index 43fd457..d6620f6 100644 --- a/cmd/tmp/submit/main.go +++ b/cmd/tmp/submit/main.go @@ -7,7 +7,7 @@ import ( "crypto/rand" "fmt" - "golang.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/types" ) func main() { diff --git a/go.mod b/go.mod index e7e45d2..709d1ad 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module golang.sigsum.org/sigsum-log-go +module git.sigsum.org/sigsum-log-go go 1.14 diff --git a/pkg/instance/endpoint_test.go b/pkg/instance/endpoint_test.go index 20f4ba3..3ca72b2 100644 --- a/pkg/instance/endpoint_test.go +++ b/pkg/instance/endpoint_test.go @@ -11,8 +11,8 @@ import ( "testing" "github.com/golang/mock/gomock" - "golang.sigsum.org/sigsum-log-go/pkg/mocks" - "golang.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/mocks" + "git.sigsum.org/sigsum-log-go/pkg/types" ) var ( diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index 2f5dd4c..31a9b73 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -9,9 +9,9 @@ import ( "time" "github.com/golang/glog" - "golang.sigsum.org/sigsum-log-go/pkg/state" - "golang.sigsum.org/sigsum-log-go/pkg/trillian" - "golang.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/state" + "git.sigsum.org/sigsum-log-go/pkg/trillian" + "git.sigsum.org/sigsum-log-go/pkg/types" ) // Config is a collection of log parameters diff --git a/pkg/instance/instance_test.go b/pkg/instance/instance_test.go index 3f8dced..1706e86 100644 --- a/pkg/instance/instance_test.go +++ b/pkg/instance/instance_test.go @@ -5,7 +5,7 @@ import ( "net/http/httptest" "testing" - "golang.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/types" ) // TestHandlers check that the expected handlers are configured diff --git a/pkg/mocks/sigsum_state_manager.go b/pkg/mocks/sigsum_state_manager.go index 594d0a1..3b74ac4 100644 --- a/pkg/mocks/sigsum_state_manager.go +++ b/pkg/mocks/sigsum_state_manager.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: golang.sigsum.org/sigsum-log-go/pkg/state (interfaces: StateManager) +// Source: git.sigsum.org/sigsum-log-go/pkg/state (interfaces: StateManager) // Package mocks is a generated GoMock package. package mocks @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - types "golang.sigsum.org/sigsum-log-go/pkg/types" + types "git.sigsum.org/sigsum-log-go/pkg/types" ) // MockStateManager is a mock of StateManager interface. diff --git a/pkg/mocks/sigsum_trillian_client.go b/pkg/mocks/sigsum_trillian_client.go index cc5f8af..3397237 100644 --- a/pkg/mocks/sigsum_trillian_client.go +++ b/pkg/mocks/sigsum_trillian_client.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: golang.sigsum.org/sigsum-log-go/pkg/trillian (interfaces: Client) +// Source: git.sigsum.org/sigsum-log-go/pkg/trillian (interfaces: Client) // Package mocks is a generated GoMock package. package mocks @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - types "golang.sigsum.org/sigsum-log-go/pkg/types" + types "git.sigsum.org/sigsum-log-go/pkg/types" ) // MockClient is a mock of Client interface. diff --git a/pkg/state/state_manager.go b/pkg/state/state_manager.go index a08fd84..84431be 100644 --- a/pkg/state/state_manager.go +++ b/pkg/state/state_manager.go @@ -11,8 +11,8 @@ import ( "github.com/golang/glog" "github.com/google/certificate-transparency-go/schedule" - "golang.sigsum.org/sigsum-log-go/pkg/trillian" - "golang.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/trillian" + "git.sigsum.org/sigsum-log-go/pkg/types" ) // StateManager coordinates access to the log's tree heads and (co)signatures diff --git a/pkg/state/state_manager_test.go b/pkg/state/state_manager_test.go index 6650544..f11ba28 100644 --- a/pkg/state/state_manager_test.go +++ b/pkg/state/state_manager_test.go @@ -12,8 +12,8 @@ import ( "time" "github.com/golang/mock/gomock" - "golang.sigsum.org/sigsum-log-go/pkg/mocks" - "golang.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/mocks" + "git.sigsum.org/sigsum-log-go/pkg/types" ) var ( diff --git a/pkg/trillian/client.go b/pkg/trillian/client.go index 2412074..6fe8ce4 100644 --- a/pkg/trillian/client.go +++ b/pkg/trillian/client.go @@ -7,7 +7,7 @@ import ( "github.com/golang/glog" "github.com/google/trillian" ttypes "github.com/google/trillian/types" - "golang.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/types" "google.golang.org/grpc/codes" ) diff --git a/pkg/trillian/client_test.go b/pkg/trillian/client_test.go index 70dbd39..143c411 100644 --- a/pkg/trillian/client_test.go +++ b/pkg/trillian/client_test.go @@ -9,8 +9,8 @@ import ( "github.com/golang/mock/gomock" "github.com/google/trillian" ttypes "github.com/google/trillian/types" - "golang.sigsum.org/sigsum-log-go/pkg/mocks" - "golang.sigsum.org/sigsum-log-go/pkg/types" + "git.sigsum.org/sigsum-log-go/pkg/mocks" + "git.sigsum.org/sigsum-log-go/pkg/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/pkg/trillian/util.go b/pkg/trillian/util.go index 6de78f7..fbd0aea 100644 --- a/pkg/trillian/util.go +++ b/pkg/trillian/util.go @@ -4,7 +4,7 @@ import ( "fmt" trillian "github.com/google/trillian/types" - sigsum "golang.sigsum.org/sigsum-log-go/pkg/types" + sigsum "git.sigsum.org/sigsum-log-go/pkg/types" ) func treeHeadFromLogRoot(lr *trillian.LogRootV1) *sigsum.TreeHead { -- cgit v1.2.3