fix import paths for v2 release

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-01-30 14:39:00 +03:00
parent 2b1e0a6fd6
commit f23638c036
347 changed files with 864 additions and 820 deletions

View File

@@ -2,7 +2,7 @@
package build
import (
"github.com/micro/go-micro/runtime/local/source"
"github.com/micro/go-micro/v2/runtime/local/source"
)
// Builder builds binaries

View File

@@ -9,8 +9,8 @@ import (
"path/filepath"
docker "github.com/fsouza/go-dockerclient"
"github.com/micro/go-micro/runtime/local/build"
"github.com/micro/go-micro/util/log"
"github.com/micro/go-micro/v2/runtime/local/build"
"github.com/micro/go-micro/v2/util/log"
)
type Builder struct {

View File

@@ -6,7 +6,7 @@ import (
"os/exec"
"path/filepath"
"github.com/micro/go-micro/runtime/local/build"
"github.com/micro/go-micro/v2/runtime/local/build"
)
type Builder struct {

View File

@@ -10,7 +10,7 @@ import (
"strconv"
"syscall"
"github.com/micro/go-micro/runtime/local/process"
"github.com/micro/go-micro/v2/runtime/local/process"
)
func (p *Process) Exec(exe *process.Executable) error {

View File

@@ -7,7 +7,7 @@ import (
"os/exec"
"strconv"
"github.com/micro/go-micro/runtime/local/process"
"github.com/micro/go-micro/v2/runtime/local/process"
)
func (p *Process) Exec(exe *process.Executable) error {

View File

@@ -2,7 +2,7 @@
package os
import (
"github.com/micro/go-micro/runtime/local/process"
"github.com/micro/go-micro/v2/runtime/local/process"
)
type Process struct{}

View File

@@ -4,7 +4,7 @@ package process
import (
"io"
"github.com/micro/go-micro/runtime/local/build"
"github.com/micro/go-micro/v2/runtime/local/build"
)
// Process manages a running process

View File

@@ -6,7 +6,7 @@ import (
"path/filepath"
"strings"
"github.com/micro/go-micro/runtime/local/source"
"github.com/micro/go-micro/v2/runtime/local/source"
git "gopkg.in/src-d/go-git.v4"
)

View File

@@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"
"github.com/micro/go-micro/runtime/local/source"
"github.com/micro/go-micro/v2/runtime/local/source"
)
type Source struct {