Skip to content

Commit

Permalink
rename ego module
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasten committed Mar 15, 2024
1 parent fa05e1d commit 4aae1bf
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 28 deletions.
5 changes: 2 additions & 3 deletions ego/cli/bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ import (
"path/filepath"
"testing"

"ego/config"
"ego/internal/launch"

"github.com/edgelesssys/ego/ego/config"
"github.com/edgelesssys/ego/ego/internal/launch"
"github.com/spf13/afero"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
3 changes: 1 addition & 2 deletions ego/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import (
"os"
"path/filepath"

"ego/internal/launch"

"github.com/edgelesssys/ego/ego/internal/launch"
"github.com/spf13/afero"
)

Expand Down
3 changes: 1 addition & 2 deletions ego/cli/elf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import (
"path/filepath"
"testing"

"ego/config"

"github.com/edgelesssys/ego/ego/config"
"github.com/spf13/afero"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion ego/cli/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package cli
import (
"path/filepath"

"ego/internal/launch"
"github.com/edgelesssys/ego/ego/internal/launch"
)

// Run runs a signed executable in standalone mode.
Expand Down
2 changes: 1 addition & 1 deletion ego/cli/sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"path/filepath"
"strconv"

"ego/config"
"github.com/edgelesssys/ego/ego/config"
)

const (
Expand Down
3 changes: 1 addition & 2 deletions ego/cli/sign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import (
"strings"
"testing"

"ego/config"

"github.com/edgelesssys/ego/ego/config"
"github.com/google/go-cmp/cmp"
"github.com/spf13/afero"
"github.com/stretchr/testify/assert"
Expand Down
3 changes: 1 addition & 2 deletions ego/cmd/bundle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ import (
"path/filepath"
"syscall"

"ego/internal/launch"

"github.com/edgelesssys/ego/ego/internal/launch"
"github.com/spf13/afero"
)

Expand Down
3 changes: 1 addition & 2 deletions ego/cmd/clidocgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import (
"fmt"
"regexp"

"ego/ego/cmd"

"github.com/edgelesssys/ego/ego/ego/cmd"
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
)
Expand Down
2 changes: 1 addition & 1 deletion ego/cmd/integration-test/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
package main

import (
"ego/test"
"io"
"log"
"os"

"github.com/edgelesssys/ego/ego/test"
"github.com/klauspost/cpuid/v2"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion ego/cmd/marble-test/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"crypto/tls"
"crypto/x509"
"crypto/x509/pkix"
"ego/test"
"io/ioutil"
"math/big"
"net"
Expand All @@ -23,6 +22,7 @@ import (
"syscall"
"time"

"github.com/edgelesssys/ego/ego/test"
"github.com/edgelesssys/marblerun/coordinator/rpc"
"github.com/stretchr/testify/require"
"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion ego/cmd/test-marble/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
package main

import (
"ego/test"
"os"

"github.com/edgelesssys/ego/ego/test"
"github.com/stretchr/testify/assert"
)

Expand Down
5 changes: 2 additions & 3 deletions ego/ego/cmd/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ import (
"fmt"
"os"

"ego/cli"
"ego/internal/launch"

"github.com/edgelesssys/ego/ego/cli"
"github.com/edgelesssys/ego/ego/internal/launch"
"github.com/klauspost/cpuid/v2"
"github.com/spf13/afero"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion ego/ego/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"os"

"ego/ego/cmd"
"github.com/edgelesssys/ego/ego/ego/cmd"
)

// Don't touch! Automatically injected at build-time.
Expand Down
2 changes: 1 addition & 1 deletion ego/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ego
module github.com/edgelesssys/ego/ego

go 1.20

Expand Down
3 changes: 1 addition & 2 deletions ego/premain/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ import (
"strings"
"syscall"

"ego/config"

"github.com/edgelesssys/ego/ego/config"
"github.com/edgelesssys/marblerun/marble/premain"
"github.com/spf13/afero"
)
Expand Down
3 changes: 1 addition & 2 deletions ego/premain/core/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import (
"syscall"
"testing"

"ego/config"

"github.com/edgelesssys/ego/ego/config"
"github.com/spf13/afero"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion ego/premain/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ package main
import "C"

import (
"ego/premain/core"
"os"
"syscall"
"unsafe"

"github.com/edgelesssys/ego/ego/premain/core"
"github.com/spf13/afero"
)

Expand Down

0 comments on commit 4aae1bf

Please sign in to comment.