Déplacement des protos dans un pkg a part entier
This commit is contained in:
parent
61c54f3d8f
commit
e7ec8897dd
@ -3,8 +3,8 @@ package domain
|
||||
import (
|
||||
"go.uber.org/zap"
|
||||
|
||||
"deevirt.fr/compute/pkg/api/proto"
|
||||
"deevirt.fr/compute/pkg/config"
|
||||
"deevirt.fr/compute/pkg/proto"
|
||||
"deevirt.fr/compute/pkg/raft"
|
||||
)
|
||||
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
|
||||
"deevirt.fr/compute/pkg/api/proto"
|
||||
"deevirt.fr/compute/pkg/proto"
|
||||
"libvirt.org/go/libvirt"
|
||||
)
|
||||
|
||||
|
@ -19,8 +19,8 @@ import (
|
||||
"deevirt.fr/compute/cmd/mgr/node"
|
||||
"deevirt.fr/compute/cmd/mgr/worker"
|
||||
|
||||
pb "deevirt.fr/compute/pkg/api/proto"
|
||||
"deevirt.fr/compute/pkg/config"
|
||||
pb "deevirt.fr/compute/pkg/proto"
|
||||
"deevirt.fr/compute/pkg/raft"
|
||||
)
|
||||
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
"io"
|
||||
"log"
|
||||
|
||||
"deevirt.fr/compute/pkg/api/proto"
|
||||
"deevirt.fr/compute/pkg/config"
|
||||
"deevirt.fr/compute/pkg/proto"
|
||||
"deevirt.fr/compute/pkg/raft"
|
||||
"deevirt.fr/compute/pkg/schema"
|
||||
)
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
pb "deevirt.fr/compute/pkg/api/proto"
|
||||
pb "deevirt.fr/compute/pkg/proto"
|
||||
"github.com/hashicorp/raft"
|
||||
"google.golang.org/grpc"
|
||||
)
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
pb "deevirt.fr/compute/pkg/api/proto"
|
||||
pb "deevirt.fr/compute/pkg/proto"
|
||||
"github.com/hashicorp/raft"
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/codes"
|
||||
|
@ -1,7 +1,7 @@
|
||||
package transport
|
||||
|
||||
import (
|
||||
pb "deevirt.fr/compute/pkg/api/proto"
|
||||
pb "deevirt.fr/compute/pkg/proto"
|
||||
"google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package transport
|
||||
|
||||
import (
|
||||
pb "deevirt.fr/compute/pkg/api/proto"
|
||||
pb "deevirt.fr/compute/pkg/proto"
|
||||
"github.com/hashicorp/raft"
|
||||
)
|
||||
|
||||
|
@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"io"
|
||||
|
||||
pb "deevirt.fr/compute/pkg/api/proto"
|
||||
pb "deevirt.fr/compute/pkg/proto"
|
||||
"github.com/hashicorp/raft"
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
package transport
|
||||
|
||||
import (
|
||||
pb "deevirt.fr/compute/pkg/api/proto"
|
||||
pb "deevirt.fr/compute/pkg/proto"
|
||||
"github.com/hashicorp/raft"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
@ -5,7 +5,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
pb "deevirt.fr/compute/pkg/api/proto"
|
||||
pb "deevirt.fr/compute/pkg/proto"
|
||||
"github.com/hashicorp/go-multierror"
|
||||
"github.com/hashicorp/raft"
|
||||
"github.com/pkg/errors"
|
||||
|
Loading…
x
Reference in New Issue
Block a user