Skip to content

Commit dddd88c

Browse files
committed
fix(verity-go): correct Go module path to match GitHub repository
The module was named "cryptpilot-verity-go" but README instructs users to import from "github.com/openanolis/cryptpilot/verity-go". Update go.mod and all internal imports to use the correct module path so the package is actually usable via go get.
1 parent f78773d commit dddd88c

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

verity-go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module cryptpilot-verity-go
1+
module github.com/openanolis/cryptpilot/verity-go
22

33
go 1.24
44

verity-go/metadata/interop_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"runtime"
1111
"testing"
1212

13-
"cryptpilot-verity-go/verity"
13+
"github.com/openanolis/cryptpilot/verity-go/verity"
1414
)
1515

1616
// expectedDescriptorHashes maps test file name to expected SHA-256 descriptor hash.

verity-go/metadata/metadata.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"fmt"
77
"sort"
88

9-
"cryptpilot-verity-go/metadata/generated"
10-
"cryptpilot-verity-go/verity"
9+
"github.com/openanolis/cryptpilot/verity-go/metadata/generated"
10+
"github.com/openanolis/cryptpilot/verity-go/verity"
1111

1212
flatbuffers "github.com/google/flatbuffers/go"
1313
)

verity-go/metadata/metadata_hash.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"encoding/hex"
77
"fmt"
88

9-
"cryptpilot-verity-go/metadata/generated"
9+
"github.com/openanolis/cryptpilot/verity-go/metadata/generated"
1010

1111
flatbuffers "github.com/google/flatbuffers/go"
1212
)

verity-go/metadata/metadata_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"encoding/hex"
77
"testing"
88

9-
"cryptpilot-verity-go/verity"
9+
"github.com/openanolis/cryptpilot/verity-go/verity"
1010
)
1111

1212
func makeTestFileVerityInfo(path string, data []byte) FileVerityInfo {

0 commit comments

Comments
 (0)