Déplacement des protos dans un pkg a part entier

This commit is contained in:
Mickael BOURNEUF 2025-03-01 18:46:38 +01:00
parent 61c54f3d8f
commit e7ec8897dd
27 changed files with 11 additions and 11 deletions

View File

@ -3,8 +3,8 @@ package domain
import ( import (
"go.uber.org/zap" "go.uber.org/zap"
"deevirt.fr/compute/pkg/api/proto"
"deevirt.fr/compute/pkg/config" "deevirt.fr/compute/pkg/config"
"deevirt.fr/compute/pkg/proto"
"deevirt.fr/compute/pkg/raft" "deevirt.fr/compute/pkg/raft"
) )

View File

@ -4,7 +4,7 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"deevirt.fr/compute/pkg/api/proto" "deevirt.fr/compute/pkg/proto"
"libvirt.org/go/libvirt" "libvirt.org/go/libvirt"
) )

View File

@ -19,8 +19,8 @@ import (
"deevirt.fr/compute/cmd/mgr/node" "deevirt.fr/compute/cmd/mgr/node"
"deevirt.fr/compute/cmd/mgr/worker" "deevirt.fr/compute/cmd/mgr/worker"
pb "deevirt.fr/compute/pkg/api/proto"
"deevirt.fr/compute/pkg/config" "deevirt.fr/compute/pkg/config"
pb "deevirt.fr/compute/pkg/proto"
"deevirt.fr/compute/pkg/raft" "deevirt.fr/compute/pkg/raft"
) )

View File

@ -6,8 +6,8 @@ import (
"io" "io"
"log" "log"
"deevirt.fr/compute/pkg/api/proto"
"deevirt.fr/compute/pkg/config" "deevirt.fr/compute/pkg/config"
"deevirt.fr/compute/pkg/proto"
"deevirt.fr/compute/pkg/raft" "deevirt.fr/compute/pkg/raft"
"deevirt.fr/compute/pkg/schema" "deevirt.fr/compute/pkg/schema"
) )

View File

@ -8,7 +8,7 @@ import (
"sync" "sync"
"time" "time"
pb "deevirt.fr/compute/pkg/api/proto" pb "deevirt.fr/compute/pkg/proto"
"github.com/hashicorp/raft" "github.com/hashicorp/raft"
"google.golang.org/grpc" "google.golang.org/grpc"
) )

View File

@ -6,7 +6,7 @@ import (
"sync" "sync"
"time" "time"
pb "deevirt.fr/compute/pkg/api/proto" pb "deevirt.fr/compute/pkg/proto"
"github.com/hashicorp/raft" "github.com/hashicorp/raft"
"google.golang.org/grpc" "google.golang.org/grpc"
"google.golang.org/grpc/codes" "google.golang.org/grpc/codes"

View File

@ -1,7 +1,7 @@
package transport package transport
import ( import (
pb "deevirt.fr/compute/pkg/api/proto" pb "deevirt.fr/compute/pkg/proto"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"
) )

View File

@ -1,7 +1,7 @@
package transport package transport
import ( import (
pb "deevirt.fr/compute/pkg/api/proto" pb "deevirt.fr/compute/pkg/proto"
"github.com/hashicorp/raft" "github.com/hashicorp/raft"
) )

View File

@ -4,7 +4,7 @@ import (
"context" "context"
"io" "io"
pb "deevirt.fr/compute/pkg/api/proto" pb "deevirt.fr/compute/pkg/proto"
"github.com/hashicorp/raft" "github.com/hashicorp/raft"
) )

View File

@ -1,7 +1,7 @@
package transport package transport
import ( import (
pb "deevirt.fr/compute/pkg/api/proto" pb "deevirt.fr/compute/pkg/proto"
"github.com/hashicorp/raft" "github.com/hashicorp/raft"
"google.golang.org/protobuf/types/known/timestamppb" "google.golang.org/protobuf/types/known/timestamppb"
) )

View File

@ -5,7 +5,7 @@ import (
"sync" "sync"
"time" "time"
pb "deevirt.fr/compute/pkg/api/proto" pb "deevirt.fr/compute/pkg/proto"
"github.com/hashicorp/go-multierror" "github.com/hashicorp/go-multierror"
"github.com/hashicorp/raft" "github.com/hashicorp/raft"
"github.com/pkg/errors" "github.com/pkg/errors"