Skip to content

Commit

Permalink
Actually start using go modules (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
adjackura authored May 13, 2019
1 parent eb698d0 commit d8fa66f
Show file tree
Hide file tree
Showing 30 changed files with 77 additions and 77 deletions.
4 changes: 2 additions & 2 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
"time"

"cloud.google.com/go/storage"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
"google.golang.org/api/googleapi"
)
Expand Down
4 changes: 2 additions & 2 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"testing"
"time"

"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
)

Expand Down
6 changes: 3 additions & 3 deletions download/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import (

"cloud.google.com/go/storage"
humanize "github.com/dustin/go-humanize"
"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
)

Expand Down
4 changes: 2 additions & 2 deletions download/download_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"path/filepath"
"testing"

"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
)

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/google/googet
module github.com/google/googet/v2

go 1.12

Expand Down
6 changes: 3 additions & 3 deletions googet.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ import (
"time"

"github.com/go-yaml/yaml"
"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/system"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/system"
"github.com/google/logger"
"github.com/google/subcommands"
"github.com/olekukonko/tablewriter"
Expand Down
2 changes: 1 addition & 1 deletion googet_addrepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"path/filepath"
"strings"

"github.com/google/googet/oswrap"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
4 changes: 2 additions & 2 deletions googet_available.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"sort"
"strings"

"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
4 changes: 2 additions & 2 deletions googet_clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"path/filepath"
"strings"

"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
6 changes: 3 additions & 3 deletions googet_download.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"os"
"path/filepath"

"github.com/google/googet/client"
"github.com/google/googet/download"
"github.com/google/googet/goolib"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/download"
"github.com/google/googet/v2/goolib"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
6 changes: 3 additions & 3 deletions googet_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (
"os"
"path/filepath"

"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/install"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/install"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
4 changes: 2 additions & 2 deletions googet_installed.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"sort"
"strings"

"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
4 changes: 2 additions & 2 deletions googet_latest.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"os"
"path/filepath"

"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
4 changes: 2 additions & 2 deletions googet_remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"os"
"path/filepath"

"github.com/google/googet/goolib"
"github.com/google/googet/remove"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/remove"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
2 changes: 1 addition & 1 deletion googet_rmrepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"path/filepath"
"strings"

"github.com/google/googet/oswrap"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
6 changes: 3 additions & 3 deletions googet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"testing"
"time"

"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
)

func TestRepoList(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions googet_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"os"
"path/filepath"

"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/install"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/install"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
6 changes: 3 additions & 3 deletions googet_verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"os"
"path/filepath"

"github.com/google/googet/goolib"
"github.com/google/googet/install"
"github.com/google/googet/verify"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/install"
"github.com/google/googet/v2/verify"
"github.com/google/logger"
"github.com/google/subcommands"
)
Expand Down
4 changes: 2 additions & 2 deletions goopack/goopack.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"runtime"
"strings"

"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions goopack/goopack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"reflect"
"testing"

"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
)

func TestPathMatch(t *testing.T) {
Expand Down
12 changes: 6 additions & 6 deletions install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ import (
"sort"
"strings"

"github.com/google/googet/client"
"github.com/google/googet/download"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/remove"
"github.com/google/googet/system"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/download"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/googet/v2/remove"
"github.com/google/googet/v2/system"
"github.com/google/logger"
)

Expand Down
6 changes: 3 additions & 3 deletions install/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (
"reflect"
"testing"

"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
)

Expand Down
10 changes: 5 additions & 5 deletions remove/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ import (
"os"
"sort"

"github.com/google/googet/client"
"github.com/google/googet/download"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/system"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/download"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/googet/v2/system"
"github.com/google/logger"
)

Expand Down
6 changes: 3 additions & 3 deletions remove/remove_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (
"reflect"
"testing"

"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
)

Expand Down
4 changes: 2 additions & 2 deletions server/gooserve.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"time"

"cloud.google.com/go/storage"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
"google.golang.org/api/iterator"
)
Expand Down
4 changes: 2 additions & 2 deletions system/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package system
import (
"path/filepath"

"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
)

Expand Down
4 changes: 2 additions & 2 deletions system/system_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"fmt"
"path/filepath"

"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
)

Expand Down
4 changes: 2 additions & 2 deletions system/system_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"runtime"

"github.com/StackExchange/wmi"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/logger"
"golang.org/x/sys/windows/registry"
)
Expand Down
10 changes: 5 additions & 5 deletions verify/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ import (
"path/filepath"
"strings"

"github.com/google/googet/client"
"github.com/google/googet/download"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/system"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/download"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
"github.com/google/googet/v2/system"
"github.com/google/logger"
)

Expand Down
6 changes: 3 additions & 3 deletions verify/verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
"path/filepath"
"testing"

"github.com/google/googet/client"
"github.com/google/googet/goolib"
"github.com/google/googet/oswrap"
"github.com/google/googet/v2/client"
"github.com/google/googet/v2/goolib"
"github.com/google/googet/v2/oswrap"
)

func TestFiles(t *testing.T) {
Expand Down

0 comments on commit d8fa66f

Please sign in to comment.