Problème imports réglé
This commit is contained in:
parent
bc2e322781
commit
47b91d96d1
10
cmd/main.go
10
cmd/main.go
@ -1,11 +1,11 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"_StorBackEnd/pkg/network"
|
"StorBackEnd/pkg/network"
|
||||||
"_StorBackEnd/pkg/protocol/managers"
|
"StorBackEnd/pkg/protocol/managers"
|
||||||
"_StorBackEnd/pkg/protocol/repository"
|
"StorBackEnd/pkg/protocol/repository"
|
||||||
"_StorBackEnd/pkg/protocol/rules/readers"
|
"StorBackEnd/pkg/protocol/rules/readers"
|
||||||
"_StorBackEnd/pkg/protocol/rules/writers"
|
"StorBackEnd/pkg/protocol/rules/writers"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package network
|
package network
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"_StorBackEnd/pkg/protocol/repository"
|
"StorBackEnd/pkg/protocol/repository"
|
||||||
"_StorBackEnd/pkg/protocol/rules/writers"
|
"StorBackEnd/pkg/protocol/rules/writers"
|
||||||
"net"
|
"net"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package network
|
package network
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"_StorBackEnd/pkg/protocol/managers"
|
"StorBackEnd/pkg/protocol/managers"
|
||||||
"bufio"
|
"bufio"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package managers
|
package managers
|
||||||
|
|
||||||
import "_StorBackEnd/pkg/protocol/repository"
|
import "StorBackEnd/pkg/protocol/repository"
|
||||||
|
|
||||||
type RequestManager struct {
|
type RequestManager struct {
|
||||||
Repository *repository.ProtocolRepository
|
Repository *repository.ProtocolRepository
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package repository
|
package repository
|
||||||
|
|
||||||
import "_StorBackEnd/pkg/protocol"
|
import "StorBackEnd/pkg/protocol"
|
||||||
|
|
||||||
func CreateProtocolRepository() *ProtocolRepository {
|
func CreateProtocolRepository() *ProtocolRepository {
|
||||||
return &ProtocolRepository{
|
return &ProtocolRepository{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package readers
|
package readers
|
||||||
|
|
||||||
import "_StorBackEnd/pkg/protocol"
|
import "StorBackEnd/pkg/protocol"
|
||||||
|
|
||||||
// EraseFileRuleName Identifiant de cette règle
|
// EraseFileRuleName Identifiant de cette règle
|
||||||
const EraseFileRuleName = "ffe_erasefile"
|
const EraseFileRuleName = "ffe_erasefile"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package writers
|
package writers
|
||||||
|
|
||||||
import "_StorBackEnd/pkg/protocol"
|
import "StorBackEnd/pkg/protocol"
|
||||||
|
|
||||||
const HelloRuleName = "sbe_hello"
|
const HelloRuleName = "sbe_hello"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user