reorganise runtime

This commit is contained in:
Asim Aslam 2020-01-19 17:47:27 +00:00
parent 54fb61bba4
commit d918694346
14 changed files with 11 additions and 12 deletions

View File

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

View File

@ -9,7 +9,7 @@ import (
"path/filepath"
docker "github.com/fsouza/go-dockerclient"
"github.com/micro/go-micro/runtime/build"
"github.com/micro/go-micro/runtime/local/build"
"github.com/micro/go-micro/util/log"
)

View File

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

View File

@ -10,7 +10,7 @@ import (
"strconv"
"syscall"
"github.com/micro/go-micro/runtime/process"
"github.com/micro/go-micro/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/process"
"github.com/micro/go-micro/runtime/local/process"
)
type Process struct{}

View File

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

View File

@ -6,7 +6,7 @@ import (
"path/filepath"
"strings"
"github.com/micro/go-micro/runtime/source"
"github.com/micro/go-micro/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/source"
"github.com/micro/go-micro/runtime/local/source"
)
type Source struct {

View File

@ -5,10 +5,9 @@ import (
"sync"
"time"
"github.com/micro/go-micro/runtime/build"
"github.com/micro/go-micro/runtime/process"
proc "github.com/micro/go-micro/runtime/process/os"
"github.com/micro/go-micro/runtime/local/build"
"github.com/micro/go-micro/runtime/local/process"
proc "github.com/micro/go-micro/runtime/local/process/os"
"github.com/micro/go-micro/util/log"
)