Skip to content

Commit

Permalink
golang: update module name and golang imports to use virtee packages
Browse files Browse the repository at this point in the history
go.mod still refers to the module name as
"github.com/edgelesssys/sev-snp-measure-go". This causes an error
when adding this module as a dependency from another project. As such, we
need to update the module's name to "github.com/virtee/sev-snp-measure-go".

While we are at it, we could also update the Golang imports to refer to
the virtee repo

Signed-off-by: Jagannathan Raman <[email protected]>
Reviewed-by: Liam Merwick <[email protected]>
  • Loading branch information
jraman567 authored and derpsteb committed May 30, 2024
1 parent 3aff4a8 commit e6e8dc9
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions e2e/upstream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"strconv"
"testing"

"github.com/edgelesssys/sev-snp-measure-go/guest"
"github.com/edgelesssys/sev-snp-measure-go/ovmf"
"github.com/edgelesssys/sev-snp-measure-go/vmmtypes"
"github.com/virtee/sev-snp-measure-go/guest"
"github.com/virtee/sev-snp-measure-go/ovmf"
"github.com/virtee/sev-snp-measure-go/vmmtypes"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/edgelesssys/sev-snp-measure-go
module github.com/virtee/sev-snp-measure-go

go 1.20

Expand Down
10 changes: 5 additions & 5 deletions guest/guest.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"errors"
"fmt"

"github.com/edgelesssys/sev-snp-measure-go/cpuid"
"github.com/edgelesssys/sev-snp-measure-go/gctx"
"github.com/edgelesssys/sev-snp-measure-go/ovmf"
"github.com/edgelesssys/sev-snp-measure-go/vmmtypes"
"github.com/edgelesssys/sev-snp-measure-go/vmsa"
"github.com/virtee/sev-snp-measure-go/cpuid"
"github.com/virtee/sev-snp-measure-go/gctx"
"github.com/virtee/sev-snp-measure-go/ovmf"
"github.com/virtee/sev-snp-measure-go/vmmtypes"
"github.com/virtee/sev-snp-measure-go/vmsa"
)

// LaunchDigestFromMetadataWrapper calculates a launch digest from a MetadataWrapper object.
Expand Down
4 changes: 2 additions & 2 deletions guest/guest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"os"
"testing"

"github.com/edgelesssys/sev-snp-measure-go/ovmf"
"github.com/edgelesssys/sev-snp-measure-go/vmmtypes"
"github.com/virtee/sev-snp-measure-go/ovmf"
"github.com/virtee/sev-snp-measure-go/vmmtypes"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
4 changes: 2 additions & 2 deletions sevsnpmeasure/cmd/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"fmt"
"os"

"github.com/edgelesssys/sev-snp-measure-go/guest"
"github.com/edgelesssys/sev-snp-measure-go/ovmf"
"github.com/virtee/sev-snp-measure-go/guest"
"github.com/virtee/sev-snp-measure-go/ovmf"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion sevsnpmeasure/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package main
import (
"os"

"github.com/edgelesssys/sev-snp-measure-go/sevsnpmeasure/cmd"
"github.com/virtee/sev-snp-measure-go/sevsnpmeasure/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion vmsa/vmsa.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"errors"
"fmt"

"github.com/edgelesssys/sev-snp-measure-go/vmmtypes"
"github.com/virtee/sev-snp-measure-go/vmmtypes"
)

const (
Expand Down

0 comments on commit e6e8dc9

Please sign in to comment.